Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 72869 invoked from network); 1 Jul 2007 15:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2007 15:17:18 -0000 Received: (qmail 91551 invoked by uid 500); 1 Jul 2007 15:17:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91518 invoked by uid 500); 1 Jul 2007 15:17:06 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 91506 invoked by uid 99); 1 Jul 2007 15:17:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 08:17:06 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of haoniukun@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0506.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 08:17:02 -0700 Received: by nz-out-0506.google.com with SMTP id z6so692620nzd for ; Sun, 01 Jul 2007 08:16:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=HxA58N42c4XJKY8+/ZrM4B1KhdY06YyEw2dMqKHu6ih6fSzZyfbm2yUTQHJDsqegzX3grEpN3t7WTOgBCeN1qh/Xb0YKgdVyc0iDEsZfSOUYIGuiy8894X/j79oJtN1CKGAjQD/FC6QaHuTEMwOGmTMzO9K8UcDhODkt1AYGVF4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=oYZl68DC3BqI3hRU/l+twFQPaSk4T1dD4KYx8fxCGOszCzzOLpU5Efvr4GALnSyhoNOqflbZkBGLP3xfl6hMKHxkFFi873kwqfRCN5LxliQeZ07YFrfLENGrMcvypqGNUqVJtKD+aAhY3iVa/PASrMAXr9UvqF4M1hY+4LzyUhc= Received: by 10.114.175.16 with SMTP id x16mr4352795wae.1183303001350; Sun, 01 Jul 2007 08:16:41 -0700 (PDT) Received: from ?221.221.119.152? ( [221.221.119.152]) by mx.google.com with ESMTP id n22sm25979661pof.2007.07.01.08.16.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Jul 2007 08:16:41 -0700 (PDT) Message-ID: <4687B740.20604@gmail.com> Date: Sun, 01 Jul 2007 22:16:32 +0800 From: Niu Kun User-Agent: IceDove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Problem about posting Chinese characters to tomcat server. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dear all, I've just got a simple form to post Chinese characters to my jsp file. But the data submitted can't be seen on my web browser. After analyzing the data posted and shown on my browser, I find the following problem. The letters I submit are "e7 89 9b e5 9d a4" which are in UTF-8 form. And the letters catched on the return webpage are "c3 a7 c2 89 c2 9b c3 a5 c2 9d c2 a4". We can see that each single character is doubled. Each one is first prefixed with "c3" and then two "c2". It's true that I add URIEncoding="UTF-8" to my connector's parameter list. And all my files are encoded as "UTF-8" format. My tomcat version is 5.5. My jdk is 1.5. And my os is Debian lenny. Any help would be appreciated and thanks in advance. Regards --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org