You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stefan Busse <sb...@medienkontor-online.de> on 2001/04/03 17:30:34 UTC

Tomcat handling non ascii-url characters

hi,

i have run into a problem with non ascii-url characters.

When there is e.g. the German รค = &auml in an URL,
I have to encode it as follows:

APACHE alone, non-ascii character anywhere:
http://mydomain.de/d%E4mlich.html

TOMCAT standalone, non-ascii character anywhere:
http://mydomain.de:8080/requ%E4st.jsp?dummy=d%E4mlich

APACHE+TOMCAT, non-ascii character in parameters:
http://mydomain.de/request.jsp?dummy=d%E4mlich

Now before you say, this is really getting boring,
watch out:
APACHE+TOMCAT, non-ascii character in URI-part:
http://mydomain.de/requ%C3%A4st.jsp

Obviously, in the last example, the encoding follows
rather Unicode than ISO-Latin. As this is conflicting
with the "usual" behaviour shown above, I am looking
for a solution for the last case.

Does anybody know a workaround or a version of
apache or tomcat or mod_jk that would solve the problem ?

TIA for your help,

Stefan

BTW I am using:

        tomcat 3.2.1
        apache 1.3.19, connected through mod_jk
        solaris 2.8 on intel
        jdk 1.3 from sun