tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Slany <>
Subject Multibyte input parameters
Date Mon, 09 Jul 2001 19:46:22 GMT
Hello all,
    Can someone tell me if there is a way to set up Tomcat to handle
multibyte character parameters, such as specifing the encoding and
having tomcat encode the input parameter on the fly. As of now, I'm
passing in my multibyte request to a BufferedReader along with the
character encoding of the string and then re-reading the string from the
buffer, such as:

             String para = request.getParameter('text');

             BufferedReader reader = new BufferedReader(
StringBufferInputStream(text), Shift_JIS));

              text = reader.readLine();

Any ideas??


View raw message