: 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 reading the headers
org.apache.strugs.upload.FormFile exposes 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
After posting now I see that the posted email contains ? characters
instead of the original chinese characters I used in my example.
Zsolt
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 11:45 AM
To: Struts Users Mailing List
Subject:
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
-Original Message-
From: Zsolt Koppany [mailto:[EMAIL PROTECTED]
Sent
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
5 matches
Mail list logo