Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 96111 invoked from network); 21 Jun 2003 23:49:37 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 Jun 2003 23:49:37 -0000 Received: (qmail 15375 invoked by uid 97); 21 Jun 2003 23:52:03 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 15368 invoked from network); 21 Jun 2003 23:52:02 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 21 Jun 2003 23:52:02 -0000 Received: (qmail 94664 invoked by uid 500); 21 Jun 2003 23:49:25 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 94651 invoked from network); 21 Jun 2003 23:49:25 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 21 Jun 2003 23:49:25 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ts6j-0005hu-00 for ; Sun, 22 Jun 2003 01:49:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-user@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Ts6j-0005hl-00 for ; Sun, 22 Jun 2003 01:49:21 +0200 From: "Bill Barker" Subject: Re: Tomcat 4 and "DecodeInterceptor" Date: Sat, 21 Jun 2003 16:59:16 -0700 Lines: 57 Message-ID: References: <259e9107571f484c9347a94469313c08@atlas.cz> <20030621151101.34196.qmail@web40603.mail.yahoo.com> X-Complaints-To: usenet@main.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N "Yoav Shapira" wrote in message news:20030621151101.34196.qmail@web40603.mail.yahoo.com... > Howdy, > Your DecodeInterceptor usage covered inappropriately designed web page ;) That's the entire point of DecodeInterceptor ;). While it does a pretty good job of guessing the char-set, it's real power is to give a (Tomcat-specific) way to use the functionality of request.setCharacterEncoding (which is new in the 2.3 spec). > > Use a Filter to do this in tomcat 4. You'll have to write a request charset > setting filter as that doesn't come built-in to tomcat. > > Yoav Shapira > > --- j p wrote: > > Hi, > > > > I have problem moving my App. to tomcat 4. On TC 3.3 I used > > feature to force cp-1250 when decoding request > > data. > > I've searched this in TC 4.1, but I didn't find anything with similar > > functionality. > > I have following problem: I have jsp page with form, which has set > > contentType to > > "text/html; charset=windows-1250". When I'm processing posted data on > > another page, > > request.getParameter() returns incorrectly decoded strings - national > > characters are replaced with '?'. > > > > Any help? > > > > Thanks, Jan Peknik. > > > > > ____________________________________________________________________________ ____ > > Styd�m se ho vyt�hnout! A jak� je v�s d�vod vym�nit sv�j telefon za nov�? > > Nokia 6610 jiz od 6977 K�. http://www.atlas.cz/clickAD.asp?ad=32086 > > > ===== > Yoav Shapira > yoavs@computer.org > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org