From my understanding, the container converted the parameters to a
standard Java String class (Unicode).  The problem comes in where there is
no standard way for the browser to denote what character set the
information is being submitted in.  Some browsers go by the
Accept-Language header.  The information is in Unicode once you get it in
Java.  Is this not correct?

On Tue, 9 May 2000, guillaume ORIOL wrote:

> Thank you, Nic
>
> So, if I am right, if the charset specified by the request is not ISO-8859-1
> (which is the only charset to have the 256 first characters equal to those of
> Unicode)
> I have to convert the String.
>
> Is that true?
>
> guillaume ORIOL
>
> -----Message d'origine-----
> De : Nic Ferrier <[EMAIL PROTECTED]>
> � : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date : lundi 8 mai 2000 15:13
> Objet : Re: true String or not true String ?
>
>
> >>>> guillaume ORIOL <[EMAIL PROTECTED]> 08-May-00 10:03:18 AM >>>
> >
> >>so my question is:
> >>what do you get with a request.getParameter("field") ?
> >>- a true java String translated by the servlet engine from a
> >particular
> >>charset to Unicode
> >>- a strange java String still encoded in the charset of the HTML
> >page
> >
> >request.getParameter("field") *should* return a string in the
> >character set specified by the request.
> >
> >However, there are a number of problems with servlet API i18n and so
> >this is not always so, it depends on the container basically.
> >
> >
> >The JSR053 team is currently tryin to sort i18n out and produce a
> >standardised system.
> >
> >
> >
> >
> >Nic Ferrier
> >
> >___________________________________________________________________________
> >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

Reply via email to