Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 36211 invoked by uid 500); 9 Jul 2001 19:31:55 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 36193 invoked from network); 9 Jul 2001 19:31:51 -0000 Received: from relay.lutris.com (63.104.189.21) by h31.sny.collab.net with SMTP; 9 Jul 2001 19:31:51 -0000 Received: (from root@localhost) by relay.lutris.com (8.9.3/8.9.3) id LAA19021 for ; Mon, 9 Jul 2001 11:39:22 -0700 Received: from mail01.lutris.com (mail [63.104.189.54]) by relay.lutris.com (8.9.3/8.9.3) with ESMTP id LAA18934 for ; Mon, 9 Jul 2001 11:39:22 -0700 Received: from lutris.com ([10.10.30.112]) by mail01.lutris.com (Netscape Messaging Server 4.15) with ESMTP id GG80VZ00.IPZ for ; Mon, 9 Jul 2001 12:31:11 -0700 Message-ID: <3B4A0A0E.588737C@lutris.com> Date: Mon, 09 Jul 2001 12:46:22 -0700 From: Steven Slany X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ja,en,hr MIME-Version: 1.0 To: "tomcat-user@jakarta.apache.org" Subject: Multibyte input parameters Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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( new InputStreamReader( new StringBufferInputStream(text), Shift_JIS)); text = reader.readLine(); Any ideas?? Steve