You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2001/08/08 11:45:09 UTC

Re: FW: [Bug 3039] New: - Can't get the correct request parameterunder the none ISO-8859-1 platform

"Pier P. Fumagalli" wrote:
> 
> This got fed up in my bag... But I believe that this is more a HTTP /vs/
> Servlet spec issue... Anyone wishes to comment?

That is HTTP.

And that is the place where we parse the request.
The encoding MUST NOT be the "System.getProperty ("file.encoding");" because on
"EBCDIC" machines this would try to parse a request encoded in "ASCII" using an
"EBCDIC" parser.

The encoding should be set by setCharacterEncoding (RequestBase.java)... The
note tells: "Servlet 2.3"...
 

> 
>     Pier
> 
> ------ Forwarded Message
> From: bugzilla@apache.org
> Date: 8 Aug 2001 07:29:57 -0000
> To: pier@betaversion.org
> Subject: [Bug 3039] New:  - Can't get the correct request parameter under
> the none ISO-8859-1 platform
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3039
> 
> *** shadow/3039    Wed Aug  8 00:29:57 2001
> --- shadow/3039.tmp.639    Wed Aug  8 00:29:57 2001
> ***************
> *** 0 ****
> --- 1,23 ----
> +==========================================================================
> | Can't get the correct request parameter under the none ISO-8859-1 platform
> +--------------------------------------------------------------------------
> |        Bug #: 3039                        Product: Tomcat 4
> |       Status: NEW                         Version: Nightly Build
> |   Resolution:                            Platform: All
> |     Severity: Normal                   OS/Version: All
> |     Priority: Other                     Component: Connectors
> +--------------------------------------------------------------------------
> |  Assigned To: pier@betaversion.org
> |  Reported By: hanmin@263.net
> |      CC list: Cc:
> +--------------------------------------------------------------------------
> |          URL:
> +==========================================================================
> |                              DESCRIPTION
> 
> + line 618 in org/apache/catalina/connect/HttpRequestBase.java
> +
> + the default encoding value "ISO-8859-1" can't run correctly under other
> + multilanguage platform.
> +
> + maybe the "System.getProperty ("file.encoding");" can return the correct
> + default encoding value.
> 
> ------ End of Forwarded Message