Martin Papy wrote:
Hello everybody,
I updated with the last Snapshot. Has I understand, T5 now handles by
default everything in UTF-8. That is ok for me.
But how the properties files are handled ?
I updated all my properties files in UTF-8 Encoding but I get odd
characters...
Hum, that seems odd, Java (before 6) is not able to handle properties in
an other language than ISO-8859-1
If you want to use a .property file with UTF-8, you have to process it
with "native2ascii" (in $JABA_HOME/bin/native2ascii)
=> native2ascii -encoding UTF-8 myISO8859-1.properties myUTF-8.properties
But Tapestry should be aware of that and read the properties file in the
expected format, perhaps a bug lays here.
An alernative solution would be to have Tapestry understand XML property
format (available since java 1.5), so that we can write (XML) properties
file in true UTF-8
Hope it will 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]