You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Brent Kynaston <bk...@trivir.com> on 2005/06/20 22:29:34 UTC

FileUpload: Failure to parse non-ascii character sets

I'm trying to post a multi-part form with file data and text input
files.  The Portlet FileUpload code is able to successfully parse the
file data and text fields, except for when I change my keyboard type to
Finnish, Arabic, or any foreign language for that matter.  

I've specified an http meta-equiv with UTF-8:
META http-equiv="Content-Type" content="text/html; charset=UTF-8

I've tried setting the PortletFileUpload class instance to various
encoding types, and have not been able to get it to work.  Is this
broken in the current builds of commons-fileupload-1.1-dev.jar?

Thanks,

Brent

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: FileUpload: Failure to parse non-ascii character sets

Posted by Ronald Klop <ro...@klop.yi.org>.
On Mon, 20 Jun 2005 22:29:34 +0200, Brent Kynaston <bk...@trivir.com>  
wrote:

> I'm trying to post a multi-part form with file data and text input
> files.  The Portlet FileUpload code is able to successfully parse the
> file data and text fields, except for when I change my keyboard type to
> Finnish, Arabic, or any foreign language for that matter.
>
> I've specified an http meta-equiv with UTF-8:
> META http-equiv="Content-Type" content="text/html; charset=UTF-8
>
> I've tried setting the PortletFileUpload class instance to various
> encoding types, and have not been able to get it to work.  Is this
> broken in the current builds of commons-fileupload-1.1-dev.jar?

Post a dump of the headers going over the wire. (See ngrep, ethereal or  
another network sniffer.)

-- 
  Ronald Klop
  Amsterdam, The Netherlands

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org