If you take dojo out of the page entirely, but serve it from the exact
same location, does it work correctly?  I had some wierd issues with
the way java uses the default charset of the jvm when reading a file,
so even if tomcat (or any other java app) is set to handle utf-8,
things can still get garbled when a file gets read by the jvm if the
charset for the input stream is not set explicitly and the default
charset of your jvm is not utf-8.  The only way to set the default
charset (which is the only charset that gets used if you don't set a
charset in all readers and writers explicitly) is to set a system
property at the time that the jvm starts up.  You cannot modify it
once the jvm is running.  Generally, you just pass a -D option to java
when you run it:

-Dfile.encoding=UTF-8

Try doing this (if you are running tomcat, just put this in an
environment variable called JAVA_OPTS before starting tomcat):

csh:
setenv JAVA_OPTS "-Dfile.encoding=UTF-8"

bash:
export JAVA_OPTS="-Dfile.encoding=UTF-8"

and see if it doesn't fix your problem.

--sam

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

Reply via email to