You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Efftinge, Sven" <SE...@lohndirekt.de> on 2002/08/30 11:23:52 UTC

Character Encodings

Hi,
I have the following Problem:
when I insert some german umlauts or the euro-sign in a form like this:

üöäÜÖÄßEUR

this is what the servlet gives me:

üöä�����

the other way (out.println("üöäÜÖÄßEUR)) works fine since I changed page
directive to 

<%@page contentType="text/html;charset=UTF-8"%>

I have also a similar problem with my postgresql database.
But fixed it with setting 

charset=ISO_8859_1 

in the URL

I think anything is working in ASCII so maybe its the easiest way to say
tomcat/the VM to use ASCII instead of UNICODE

please give me a hint!

Sven

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>