Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 3605 invoked from network); 22 Nov 2009 21:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Nov 2009 21:24:16 -0000 Received: (qmail 79785 invoked by uid 500); 22 Nov 2009 21:24:15 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 79708 invoked by uid 500); 22 Nov 2009 21:24:15 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 79697 invoked by uid 99); 22 Nov 2009 21:24:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Nov 2009 21:24:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Nov 2009 21:24:13 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id BE20F17D18; Sun, 22 Nov 2009 21:23:51 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sun, 22 Nov 2009 21:23:51 -0000 Message-ID: <20091122212351.29486.53298@eos.apache.org> Subject: =?utf-8?q?=5BTomcat_Wiki=5D_Update_of_=22Tomcat/UTF-8=22_by_JuanGarcia?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for ch= ange notification. The "Tomcat/UTF-8" page has been changed by JuanGarcia. The comment on this change is: Properly propagate the exception if there is= a dangerous misconfiguration. http://wiki.apache.org/tomcat/Tomcat/UTF-8?action=3Ddiff&rev1=3D12&rev2=3D13 -------------------------------------------------- } catch(UnsupportedEncodingException e) { + throw new RuntimeException(e); - // TODO: This should never happen. The UnsupportedEncodingException - // should be propagated instead of swallowed. This error would indica= te - // a severe misconfiguration of the JVM. - = - // As we can't translate just send back the best guess. - System.out.println("UnsupportedEncodingException is: " + - e.getMessage()); - utf8String =3D isoString; } } else --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org