-
1. Re: Russian Messages.properties
adamk Aug 4, 2010 7:58 AM (in response to charles.salasoberlin.gmail.com)What encoding did you set in your xhtml files?
What browser did you used and what encoding did they recognized? -
2. Re: Russian Messages.properties
herberson Aug 4, 2010 4:36 PM (in response to charles.salasoberlin.gmail.com)Probaly you are using russian alphabetic specific characters on properties file, try converting those to unicode.
I had the same issue but in my case was brazilian portuguese so, I wrote a java swing application to do this job, you can download him from this link.
-
3. Re: Russian Messages.properties
charles.salasoberlin.gmail.com Aug 5, 2010 3:14 AM (in response to charles.salasoberlin.gmail.com)The encoding set in my xhtml files is UTF-8. I tested on all modern browsers and still had the same problem. The pages recognized UTF-8. I use Richfaces 3.3.3 GA with Facelets. Yesterday, I read that facelets has an issue which makes it escape unicode chaaracters before displaying them on the page. Could this be the reason? I tried everything. I first had russian alphabetic characters in the properties file. That didn't work. Then I converted to unicode but the unicode just appears on the page as is! This sounds like the escaping problem I mentioned above. Please help.
Charles.
-
4. Re: Russian Messages.properties
herberson Aug 5, 2010 9:22 AM (in response to charles.salasoberlin.gmail.com)If I undertand right, the first line on your xhtml files is:
<?xml version="1.0" encoding="UTF-8"?>
In my language, brazilian portuguese, with that line I ended with a similiar issue and my way to fix this is change (or add) the first line on my xhtml files like this:
<?xml version="1.0" encoding="iso-8859-1"?>
Herberson