This is the major problem for the people to localize context. \uxxxx unicode format is not readable to them.

The native2ascii will add the BOM to the beginning to fail ResourceBundle.

Billy Ng

----- Original Message ----- From: "Tim Funk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, October 17, 2007 3:40 AM
Subject: Re: UTF-8 Properties File


There is no such thing as UTF-8 properties files. Tomcat follows the same rules as java when reading properties files.

Properties file must be ISO8859-1 and if you have characters outside of that character set - then you use native2ascii to encode those other characters.

-Tim

Billy Ng wrote:
Hi folks,

Besides using native2ascii, would someone please recommend me how to make tocmat to work with UTF-8 properties files, thanks!

Billy Ng


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to