Hi,

I'm trying to create a page that can be in multiple languages, namely English, Dutch, 
Russian, and Japanese.

The resource bundles for them are all in the correct languages, and since I'm working 
on Windows, I saved them in Notepad as unicode.

MyAction.properties
MyAction_ru.properties
MyAction_jp.properties
MyAction_nl.properties


Now, English and Dutch display fine, but whenever I switch to Russian, I have to 
manually change the browser's encoding to "UTF-8" (and even this doesn't display my 
russian text correctly, coming up with squares between Russian characters).

I ran into this problem before with Japanese, and the solution was to put

<%@ page contentType="text/html; charset=Shift-JIS"%>

at the first line of my JSP page.

Now, since this application is to be in different languages all the time, I can't do 
this. I instead need something like:

<%@ page contentType="text/html; charset=<webwork:text name="'current.encoding'" />"%>

Which obviously doesn't work. And I've been banging my head for almost two days now 
for this encoding thing... does anyone have any suggestions??

Thank you very much!

James





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to