On Thu, May 28, 2009 at 15:35, André Warnier <a...@ice-sa.com> wrote:
> Hi.
> My knowledge of java and Tomcat is limited, so I may be off-base here.
> But I have also has occasional issues with Tomcat and non-US character sets
> on various Windows platforms.
> Just for information, what is the basic Windows language version of the 3
> Windows servers you are using ?
> I mean, is for example the Windows XP system some arabic version, while the
> 2003 and 2000 servers are basic English/US-Windows ?
>
> The reason for my question : when a Java JVM starts under Unix/Linux, it
> takes its language settings from the "locale" of the process it is starting
> under.
> You can change these settings, by changing the locale of the process, then
> starting the JVM (and Tomcat e.g.).
> For a Windows JVM however, there is no such "locale", and I've never quite
> figured out where the JVM takes its language settings (including the default
> charset).  I suppose it is from the Windows environment somewhere though.
> I have a strong suspicion that your problem is in that area.

You shouldn't need to mess with the Java locale. A webapp can handle
text in different languages/alphabets simultaneously, no matter what
the default settings are for the server OS or JVM.

I was able to get character encodings to work correctly on Windows XP
by following the recommendations in the FAQ that Mark pointed out
(http://wiki.apache.org/tomcat/FAQ/CharacterEncoding) and making sure
the database was storing text as UTF-8. But I haven't tried other
versions of Windows.
-- 
Len

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to