Hi Dennis Lee,

after you use native2ascii.exe, the encoding become UTF8

so "<%@ page contentType="text/html; charset=UTF8" %> will work


if you want to use big5   you need to convert it before (let say in the
getXXX of javaBean  then it will work


>From Timothy
Strategus Partners Ltd



----- Original Message -----
From: "Lee, Dennis" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 10:48 AM
Subject: RE: CHARACTER ENCODING !


> Hi,
>
> I have exactly the same problem.
> I try to convert the chinese in the properties file to unicode using
> native2ascii but it doesn't work.
> "<%@ page contentType="text/html; charset=big5" %>" + native2ascii  =
> "?????", all chinese characters becomes '??'.
>
> Anybody can give some more help ?
>
> Best Regards,
> Dennis Lee
>
> -----Original Message-----
> From: Christopher Cheng [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 10:11 AM
> To: Struts Users Mailing List
> Cc: wojtek
> Subject: RE: CHARACTER ENCODING !
>
>
> Same here. I am building a site using English, Traditional and Simplified
> Chinese. It is fine if I do not set the encoding to "big5" or whatever in
> JSP header, but I have to manually change the encoding in IE. What is
> strange is that if I put some chinese characters directly in the JSP,
those
> characters are displayed properly, but those from the property files are
> disrupted.
>
> Anybody can help?
>
> -----Original Message-----
> From: wojtek [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 1:01 AM
> To: Struts Users Mailing List
> Subject: CHARACTER ENCODING !
>
>
> Hi,
>
> I am using struts form some form validation (obvious isn't it?) and I came
> across the following error:
>
>
> National Polish characters returned from the forms are badly encoded !
>
> I am using struts on win2k, jdk 1.3, the jsp page charset is set to
> ISO-8859-2
>
> Can anyone help ?
>
> regards
>
> Wojtek
>
>
>
>
> --
> Myslisz o otworzeniu wlasnego sklepu internetowego?
> A moze o wynajeciu stoiska w wirtualnym pasazu?
> W Centrum e-biznesu mozesz miec jedno i drugie. Juz od 290 zl za rok.
> Wybierz: e-witryne lub e-sklep. http://handel.getin.pl/
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> **********************************************************************
> This message and any files transmitted with it are confidential and
> may be privileged and/or subject to the provisions of privacy legislation.
> They are intended solely for the use of the individual or entity to whom
they
> are addressed. If the reader of this message is not the intended
recipient,
> please notify the sender immediately and then delete this message.
> You are notified that reliance on, disclosure of, distribution or copying
> of this message is prohibited.
>
> Bank of Bermuda
> **********************************************************************
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to