I hacked class [com.opensymphony.xwork2.util.LocalizedTextUtil] and now it
uses [http://sourceforge.net/projects/j18n/] to load resource bundles. J18n
allows *.properties files to be in UTF-8 encoding and contain not escaped
UTF-8 characters. This is very usable in comparison with Java's
native2ascii. native2ascii is a very big mess!

All that needs to be replaced in LocalizedTextUtils is:

        ResourceBundle.getBundle -> J18n.getBundle

I know that there were some plans on UTF-8 in XWork, but I do not how the
current status of them.
-- 
View this message in context: 
http://www.nabble.com/XWork%3A-Real-UTF-8-in-*.properties-tp25887706p25887706.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to