Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 11298 invoked from network); 13 May 2003 17:20:33 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 May 2003 17:20:33 -0000 Received: (qmail 17029 invoked by uid 97); 13 May 2003 17:22:40 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@nagoya.betaversion.org Received: (qmail 17022 invoked from network); 13 May 2003 17:22:40 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 May 2003 17:22:40 -0000 Received: (qmail 10563 invoked by uid 500); 13 May 2003 17:20:24 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 10550 invoked from network); 13 May 2003 17:20:24 -0000 Received: from f77.law15.hotmail.com (HELO hotmail.com) (64.4.23.77) by daedalus.apache.org with SMTP; 13 May 2003 17:20:24 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 13 May 2003 10:20:24 -0700 Received: from 32.97.110.142 by lw15fd.law15.hotmail.msn.com with HTTP; Tue, 13 May 2003 17:20:24 GMT X-Originating-IP: [32.97.110.142] X-Originating-Email: [dgraham1980@hotmail.com] From: "David Graham" To: struts-dev@jakarta.apache.org Bcc: Subject: Re: HTML LINK TAG Date: Tue, 13 May 2003 11:20:24 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 May 2003 17:20:24.0891 (UTC) FILETIME=[F0D4B0B0:01C31973] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N You can easily modify the RequestUtils.encodeURL for your needs. This is a deficiency in Java 1.3 not Struts. David >There is no good general workaround. If the default encoding >for the JRE is 8859-1, one can patch together an ugly >workaround involving a String of UTF-8 bytes that will >fool Struts and the URL encoder. But many JREs have a default of ASCII >and that will trash all the UTF-8 bytes above 0x7F by >converting them to question marks. > >The solution is for Struts to not use java.net.URLEncode if >the JRE is < 1.4, and provide its own version instead. > > Mark > >At 09:42 AM 5/13/2003, Rob Leland wrote: > >Mark Abbott wrote: > > > >>A serious related issue is that for Struts under JDK 1.3.1, > >>it is impossible to pass any non-ASCII query param values, since Struts >in that case uses the broken URLEncoder class > >>in 1.3.1. Unfortunately, there is no hook to replace or intercept this >usage in Struts because it's buried in static > >>utility methods. One can't even request that the affected > >>html tags not do encoding so it can be done correctly externally. > > > >What work around have you been using ? > > > >> > >> Mark > >> > >-Rob > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org >For additional commands, e-mail: struts-dev-help@jakarta.apache.org > _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-dev-help@jakarta.apache.org