a setHeaderEncoding method...
Daniel Rabe
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 1:33 PM
To: Struts Users Mailing List
Subject: Re: What is wrong with this upload filename (UTF-8) decoding?
I have not used the file upload yet, but I bel
bject: Re: What is wrong with this upload filename (UTF-8) decoding?
I have not used the file upload yet, but I believe you need to set the
encoding for the headers
formFile.setHeaderEncoding("UTF-8")
setHeaderEncoding does this:
"Specifies the character encoding to be used when re
I have not used the file upload yet, but I believe you need to set the
encoding for the headers
formFile.setHeaderEncoding("UTF-8")
setHeaderEncoding does this:
"Specifies the character encoding to be used when reading the headers of
individual parts. When not specified, or |null|, the platform
nt: Friday, December 26, 2003 12:51 PM
Subject: RE: What is wrong with this upload filename (UTF-8) decoding?
> After posting now I see that the posted email contains "?" characters
> instead of the original chinese characters I used in my example.
>
> Zsolt
>
> > --
uts Users Mailing List
> Subject: What is wrong with this upload filename (UTF-8) decoding?
>
>
> Hi,
>
> my application has to support UTF-8 including when files are uploaded with
> UTF-8 characters in the filename (for example: ??.txt).
>
> I use a servlet filte
Hi,
my application has to support UTF-8 including when files are uploaded with
UTF-8 characters in the filename (for example: ??.txt).
I use a servlet filter that always call
request.setCharacterEncoding("UTF-8") and my jsp pages contain
response.setContentType("text/html; charset=UTF
6 matches
Mail list logo