I had experience with a site which should have been used by both Chinese and English users. IMHO in this scenario the best solution is to have the entire stack setted to utf-8, which includes properties file (not XML), web server and database (extra ISO chars can be written to db).
If you know a better approach or pattern please let me know.

On Tue, Sep 20, 2011 at 1:41 PM, Martin A<wml...@gmail.com>  wrote:
Hi, Ahmed,

As the Java specification defines, the .properties file contains only
characters in ISO-8859-1, also known as Latin-1. Therefore you cannot enter
arabic characters in a properties file.
Wrong: with Java 6 you can load properties files written in UTF-8 (or
any encoding for that matter):

http://stackoverflow.com/questions/863838/problem-with-java-properties-utf8-encoding-in-eclipse/3040771#3040771

Martijn

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to