Re: [OT] Reading Unicode Files

2007-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kapil, Kapil Sharma wrote: > This code properly reads the unicode files in jsp and set in session The OP was asking about how to read properties files, which are pretty much defined to be ISO-8859-1 with escape codes for out-of-charset characters tha

RE: [OT] Reading Unicode Files

2007-05-08 Thread Kapil Sharma
AP Company Ltd. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 7:18 AM To: Struts Users Mailing List Subject: Re: [OT] Reading Unicode Files -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Mulligan, Scott H wrote: > In my Str

Re: [OT] Reading Unicode Files

2007-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Mulligan, Scott H wrote: > In my Struts application, when I load a Resource Bundle (Property file) > that has Unicode characters (\u1234) they get interpreted as single > characters. However, when I read a file using a FileInputStream the > Unic

[OT] Reading Unicode Files

2007-05-08 Thread Mulligan, Scott H
In my Struts application, when I load a Resource Bundle (Property file) that has Unicode characters (\u1234) they get interpreted as single characters. However, when I read a file using a FileInputStream the Unicode characters get interpreted as a String "\u1234". I know I am missing something bas