I faced the same problem with Arabic character. I used native2ascii.exe
to encode the property files and I used encoding="utf-8" in my html
pages and then it worked.
Regards,
Suad
abaijal wrote:
Hi All
I am new to wicket framework and am trying to implement internationalization
for Russian Characters.
When displaying Russian characters on screen, Wicket rendering displays
garbage values
I am using Wicket 1.2.6 and Weblogic 8.1 SP3
Things I have already tried :
1)HTML pages have charset as UTF- 8 as part of the META tag. <meta
http-equiv="Content-Type" content="text/html; charset=UTF-8">
2) The Property files and HTML files have been encoded as UTF-8 files so as
to save any non-ascii characters.
3 ) Checked settings of Browsers. All External internet links with non-ascii
characters work properly in browser. Tried both on IE6 and on Firefox 2.0
My Observations :
1) While trying to display non ascii characters , garbage value appears on
the screen. Apart from pulling data from property file I have also hard
coded non-ascii characters in HTML file. Even hardcoded characters do not
get displayed properly on web browser.
2) The HTML files are present in WEB-INF/classes/.. folders. If I place the
same HTML file outside the WEB-INF folder and put a direct link to the
html file, russian characters appear correctly on the screen.
3 ) Using the method getLocale().getLanguage() I tried to display "Russian"
in non-ascii character. This phrase appeared correctly on browser screen.
It seems that when Wicket tries to render the Web-page the non-ascii
characters are getting distorted.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]