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:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 12:41 PM
To: [EMAIL 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 value, it returns
null. Do anyone know how to resolve this?

Thanks.

Best regards,
KL OOI

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL 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 [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL 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

Reply via email to