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

Ozkan,

zkn wrote:
> 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.

Sorry for the confusion. I started that message before I did a bit of
research and confirmed that it it still the case.
java.util.Properties.load() (and therefore use of
java.util.PropertyResourceBundle through
java.util.ResourceBundle.getBundle()) always require ISO-8859-1 encoding
in properties files.

You can load properties files in other ways, but really
ResourceBundle.getBundle is the best possible way to load a properties file.

> We tried with struts 1 and struts 2 and it wasn't working.

This should be completely independent of Struts. It's just the way that
Java works.

- -chris

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

iD8DBQFGOAFi9CaO5/Lv0PARAhElAJ9SlDlBZrxFxnD6CKhbQCpyN5QALQCeIoW9
dJVepGnJNDFaljIc4QeCQfQ=
=vprw
-----END PGP SIGNATURE-----

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

Reply via email to