Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 18617 invoked from network); 8 Jul 2009 22:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 22:42:40 -0000 Received: (qmail 81516 invoked by uid 500); 8 Jul 2009 22:42:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81435 invoked by uid 500); 8 Jul 2009 22:42:46 -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 81424 invoked by uid 99); 8 Jul 2009 22:42:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 22:42:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 22:42:37 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 70841226080 for ; Thu, 9 Jul 2009 00:42:15 +0200 (CEST) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4fhsoo8HwvAX for ; Thu, 9 Jul 2009 00:42:15 +0200 (CEST) Received: from [192.168.245.129] (p549EB483.dip0.t-ipconnect.de [84.158.180.131]) by tor.combios.es (Postfix) with ESMTPA id 25702226070 for ; Thu, 9 Jul 2009 00:42:15 +0200 (CEST) Message-ID: <4A5520BB.9030504@ice-sa.com> Date: Thu, 09 Jul 2009 00:42:03 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: aw@ice-sa.com User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: request.setCharacterEncoding() && request.getParameter() References: <1247060482.5131.29.camel@magnaopus.no-ip.biz> <4A55129B.10203@christopherschultz.net> <1247091777.3537.30.camel@magnaopus.no-ip.biz> <1247092262.3537.37.camel@magnaopus.no-ip.biz> In-Reply-To: <1247092262.3537.37.camel@magnaopus.no-ip.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Daniel Henrique Alves Lima wrote: > Another question: Even when response's content type is not text (like > pdf/odt/doc or image streams), should i set the response charset ? Does > "application/pdf; charset=UTF-8" make sense ? > No. It only makes sense for MIME types that start with "text/" (such as "text/plain" and "text/html"). And, about the URIEncoding attribute for the Connector, understand the following : it means that Tomcat is going to (try to) decode ALL URLs of ALL requests that arrive on that port, for ALL Hosts and webapps, as if these URIs are ALL UTF-8 encoded. That may, or may not, fit your situation. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org