Localizing a JSF 1.2 application with UTF-8 resources
Posted
by Filini
on Stack Overflow
See other posts from Stack Overflow
or by Filini
Published on 2010-05-04T09:29:17Z
Indexed on
2010/05/04
9:48 UTC
Read the original article
Hit count: 180
(WARNING: this is my first java application, coming from .NET, so don't bash me if I write too much garbage)
I'm developing a simple JSF 1.2 web application which should support Russian, Chinese, and other languages outside ISO 8859-1, which is automatically used in Properties.load().
Is there a way to use the Properties loaded from XML files, with Properties.loadFromXml(), inside JSF, without writing too much code?
I know there are alternative ways to do so (writing my own loader, escaping the characters...), but I'd really love to find a simple solution, and I don't see it in all the forums I checked.
Thanks in advance for any help
© Stack Overflow or respective owner