Hi
In SSO login page (authenticationendpoint.war) we are using fmt:bundle tag
to localise the text in pages. fmt tag use PropertyResourceBundle class[1]
itself to load the text and It reads the text in  ISO-8859-1. So unable to
handle the UTF-8 characters in resource properly. files

For an Example if we insert chinese characters(zh-cn) in Resource Bundle,
 Those characters are not displaying properly.

Ex: 电子邮件地址 are display like 电子邮件地址 in html page.

Is there any way to handle UTF-8 characters with fmt:bundle ?

One possible solution is to implement a own class to read the text in
resource bundle and use that class in jsp pages instead of fmt tag.


[1]
http://docs.oracle.com/javase/7/docs/api/java/util/PropertyResourceBundle.html#PropertyResourceBundle(java.io.InputStream)


Thanks,
Nuwanw

-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to