On 01.05.2007, at 17:01, Christopher Schultz wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ozkan,

zkn wrote:
I'm trying to make a simple application that will support multiple
languages. It works fine when I add two latin resource files for example
_en and _fr.
But when I try to add _bg (Bulgarian, cyrillic) file which is saved as
utf-8 the text is not correctly displayed on the site.

It used to be that all .properties files had to be in ISO-8859-1 form,
with escape sequences for non-Latin characters. If you have a UTF-8
properties file, transform it for deployment like this:

$ native2ascii -encoding UTF-8 your.properties your.properties.iso88591

The file your.properties.iso88591 should now contain the appropriate
information to be loaded by your app.

Thanks, that worked.

But why do you say "had to be"? Is there other way to do it? Or may be just I didn't understand you.
We tried with struts 1 and struts 2 and it wasn't working.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGN0gc9CaO5/Lv0PARAoPnAJ9q6aQkh61pHJoHKFIjfQy/xJwJXQCfZR0A
R5xChci2SLVvZ7ocL37HfrA=
=VdPP
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to