Hi,
When u get the outputstream have u applied the correct character
encoding(8859_1 or SJIS)?
Regards,
Punam Chordia
ITL Infosys
Pune Infotech Park
*91-02139-32800 Extn. 2025
> -----Original Message-----
> From: Kevin Mukhar [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 PM 10:09
> To: [EMAIL PROTECTED]
> Subject: Re: object serialization not working with japanese version
> of Lotus D omino
>
> Srinivasan Sudhir wrote:
> >
> > hi there servlet gurus
> >
> > Environment: OS: WindowsNT
> > Server : Lotus Domino 5.0.1.a
> > jdk 1.1.6
> > Problem : We are using object serialization for applet-servlet
> communication
> > .When we implemented this in english version
> > of Lotus Domino Server it was working fine .But when we implemented the
> > same in the japanese verion of the Lotus Notes
> > Domino server we are having 2 problems
> > 1.When attempting to write Date Object to
> > object output stream,we are getting io exception
> > 2 The String objects when retrieved on
> the
> > applet side give a Stream corrupted Exception
> > (Pls note this doesnt happen when the
> same
> > servlet applet runs on the english version of the server)
> > Can you please suggest any ideas to solve this problem?
>
> How many characters are in the String that you are trying to serialize? As
> is
> being discusses in another thread on String length, when you serialize a
> String
> you are limited to a 64K byte UTF representation. Japanese characters take
> three
> UTF bytes for each character, so your serialized String is limited to
> approximately 21K japanese characters. If this is the case, then there
> should be
> an IOException on the server side (specifically a UTFDataFormatException).
>
> K Mukhar
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html