Hi,

I had similar problems with Greek characters (ISO-8859-7). After loads of 
research I found out that to work the property file needs to be Unicode encoded 
(and in UTF8 preferably).

For example the String 'Φώτης' to appear in the web application has to be 
encoded as \uxxxxx\uxxxxx and so on.

A nice utility to do all that is UniRed.

You can open UniRed type in your Polish content save it and then in the 
properties say to UniRed that you prefer \uxxxx encoding.

Cheers,
Fotis

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Konrad Billewicz
Sent: Wednesday, August 03, 2005 2:28 PM
To: user@struts.apache.org
Subject: MessageResources file encoding

I'm unable to find an easy solution for my encoding problem with file 
MessageResources.properties declared in struts-config.xml as:

<message-resources parameter="MessageResources" />

File is encoded using ISO-8859-2 (Polish) while Struts interprets it as UTF. In 
documentation I'm not able find any "encoding" property for this tag.

I, of course, can convert file to UTF but, as usually, I wish to do what I want 
not what I can. ;-)

Best regards,
Konrad Billewicz



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




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

Reply via email to