You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Liang Huai <li...@hotmail.com> on 2008/10/31 11:05:49 UTC

Need a solution to read ascii localization .properites files in 5.0.15

Hello
 
We migrate our application ( in french) from 5.0.13 to 5.0.15 today. 
 
In the application, all .properties localization files is in ASCII, with lots of special charactors  "é ç à è ô..." in plain text. with 5.0.15, all special charaters is more correct readed. 
 
Is there a simple configuration to set Tapestry 5.0.15 to read .properties files with ascii, juste like T5.0.13?
 
Or the only solution is converting all the properties files to UTF8, or writing special charaters with the style "\u00e0" "\u00e8" ? that's not convenient...
 
thanks in advance.
 
Liang Huai
_________________________________________________________________
Email envoyé avec Windows Live Hotmail. Dites adieux aux spam et virus, passez à Hotmail ! C'est gratuit !
http://www.windowslive.fr/hotmail/default.asp

Re: Need a solution to read ascii localization .properites files in 5.0.15

Posted by Francois Armand <fa...@linagora.com>.
Liang Huai wrote:
> Hello
>
>   
Hello,

> [...] We migrate our application ( in french) from 5.0.13 to 5.0.15 today. [...]
>   

I think that it is a typical "user list" question, not a development's 
ml one.

But as I already answered : yes, you have to use properties files in 
UTF-8 since 5.0.14, and the migration from iso to utf-8 may be done with 
simple programs. On linux, you can use iconv (actually, the command:  
iconv -f iso8859-15 -t utf-8 app_fr.properties -o app_fr.properties.utf8)

I'm not familiar with Windows or MacOS, but such program must exists.

Hope it may help,

-- 
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org 
FederID - http://www.federid.org/
Open Source identities management and federation


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org