Thanks Antonio,
that solved the problem. I used java.util.Properties so now the special 
characters are not coming

by the way, what if I try to put russian characters or use non ascii characters 
in my keys??

would it be converted to ascii and what would be the display like for example 
the Pound symbol

regards,
Roy

-----Original Message-----
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 6:17 PM
To: Struts Users Mailing List
Subject: Re: query about application resource and charset


Roy, Ansuman ha scritto:
> I parse through the xml and using io i write it into a .properties file
>
> I think instead of java io i should use java.util's property class is it??
>   
Yes, java.util.Properties. ".properties" files must be ASCII 7-bit, the 
"Properties" class takes all the burden of encoding.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to