commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jérémie LOPEZ <>
Subject RE: [FileUpload] character encoding problem (URGENT! PLZ HELP!)
Date Fri, 06 Aug 2004 14:15:35 GMT
Thanks for answering...

Well, I tried it (with "iso-8859-1", not "UTF-8", but it should give the
same results for my problem I suppose), and it didn't work.
Btw, from the javadoc, it just sets the encoding for the header of the
request parts, not the content...

-----Message d'origine-----
De : Jason Lea [] 
Envoyé : vendredi 6 août 2004 16:09
À : Jakarta Commons Users List
Objet : Re: [FileUpload] character encoding problem (URGENT! PLZ HELP!)

I would assume you do something like this:

DiskFileUpload upload = new DiskFileUpload();


(I haven't tried it myself.)

Jérémie LOPEZ wrote:

>Hi all,
>I'm using the Commons FileUpload in a webapp hosted on a unix server.
>When a windows client uploads a text file with accented characters, 
>they're replaced by '?' or 'ý'...
>I suppose I must specify some character encoding or that sort of thing, 
>but where and what exactly?

Jason Lea

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message