This content has been marked as final.
Show 3 replies
-
1. Re: Non english characters in messages.properties
pmuir Jan 6, 2008 4:37 PM (in response to cardel)I'm not very good at i8ln, but shouldn't messages.properties be UTF-8 encoded as well in the situation?
-
2. Re: Non english characters in messages.properties
jazir1979 Jan 6, 2008 5:43 PM (in response to cardel)"pete.muir@jboss.org" wrote:
I'm not very good at i8ln, but shouldn't messages.properties be UTF-8 encoded as well in the situation?
No, in fact you need to escape your UTF-8 characters in properties files, for example:help=\u5E2E\u52A9
I do this automatically in my ANT build as follows:<native2ascii encoding="UTF-8" src="${src.dir}" dest="${classes.dir}" includes="messages*.properties"/>
hope it helps,
Daniel. -
3. Re: Non english characters in messages.properties
cardel Jan 8, 2008 12:41 PM (in response to cardel)Thank you, it works...
I downloaded property bundle editor plugin into eclipse and every uknown characters are escaped...