Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: java properties file

Bhavdeep Sharma

2003-07-23

Replies:

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 value, it returns
null. Do anyone know how to resolve this?

Thanks.

Best regards,
KL OOI

===========================================================================
To unsubscribe: mailto listserv@(protected)
JSP-INTEREST".
For digest: mailto listserv@(protected)
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)".
For digest: mailto listserv@(protected)".

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


©2008 junlu.com - Jax Systems, LLC, U.S.A.