java properties file 2003-07-23 - By Bhavdeep Sharma
Back One approach may be that convert the UTF8 into Unicode using Native2Ascii utility of java. Then copy the generated Unicode strings to the PropertyResourceBundle file. The PropertyResourceBundle file should be in the default encoding.
Regards Bhavdeep
-- --Original Message-- -- From: KL OOI [mailto:ooikl@(protected)] Sent: Wednesday, July 23, 2003 12:41 PM To: JSP-INTEREST@(protected) Subject: java properties file
Hi all,
I have a properties file that use the PropertyResourceBundle to retrieve the value. The question is when I try to retrieve a UTF-8 (See http://UTF-8.ora-code.com) value, it returns null. Do anyone know how to resolve this?
Thanks.
Best regards, KL OOI
=========================================================================== To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST". For digest: mailto listserv@(protected) with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
=========================================================================== To unsubscribe: mailto listserv@(protected) with body: "signoff JSP-INTEREST". For digest: mailto listserv@(protected) with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com
|
|