Hi, David.

Sorry, guy, but you got the wrong setting. A meta tag is maybe used by the browser, 
but it is not authorative as you observe.
To tell the webserver how the page is encoded (on the server side only), use
<[EMAIL PROTECTED] encoding="..."%>

To tell the webserver how the page output shall be encoded for transfer to the client, 
use
<[EMAIL PROTECTED] contentType="text-html;charset=..."%>

Note that you also have to receive form data encoded in UTF-8 now. See my earlier 
questions and the answers given for that in the list archives.

Hiran

-----------------------------------------
Hiran Chaudhuri
SAG Systemhaus GmbH
Elsenheimer Straße 11
80867 München
Phone +49-89-54 74 21 34
Fax   +49-89-54 74 21 99


 

> -----Original Message-----
> From: David Thielen [mailto:[EMAIL PROTECTED] 
> Sent: Dienstag, 12. Oktober 2004 04:06
> To: [EMAIL PROTECTED]
> Subject: How do I get Chinese & Arabic to/from struts
> 
> Hi;
> 
>  
> 
> I have spent several hours googling on this and all the 
> articles point to 
> http://www.anassina.com/struts/i18n/i18n.html which 
> apparently no longer exists.
> 
>  
> 
> All of my jsp pages are set to be utf-8 using "<meta 
> http-equiv="Content-Type" content="text/html; 
> charset=utf-8">". All of my input and text I do using html-el.
> 
>  
> 
> When I get the text from an input box, it as a&#1234:b so it 
> is not converting it to unicode. And it ends the char with a 
> : instead of a ;
> 
>  
> 
> When I pass unicode to a <c:out ./> it doesn't display correctly.
> 
>  
> 
> What do I need to do differently?
> 
>  
> 
> Thanks - dave
> 
> 

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

Reply via email to