Jan you're the greatest!!! It appears as if the problem occurred to me only with Firefox, but in IE it's ok. I checked the encoding of both browsers, and they are both Unicode (UTF-8). I'll try to ask with the Firefox community, if they know something.
Thank you all for your help, Eitan -----Original Message----- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 9:16 AM To: MyFaces Discussion Subject: Antwort: Re: Uploading file with a name containing non-ascii chars hi, just taking a wild guess - but have you checked whether this behaviour might be browser related? i remember that some had issues regarding the handling of uploads, so maybe the request part is messed up by the client and you therefore see errors on the server (e.g. myfaces)... cheers, jan Bruno Aranda <[EMAIL PROTECTED]> 22.06.2005 09:06 Bitte antworten an "MyFaces Discussion" <[email protected]> An Gur Eitan <[EMAIL PROTECTED]> Kopie MyFaces Discussion <[email protected]> Thema Re: Uploading file with a name containing non-ascii chars Even stranger. I've done the test with a jpg filename with stresses and no problem. Which version are you using? Have you tried with a niglthly? Regards, Bruno 2005/6/22, Gur Eitan <[EMAIL PROTECTED]>: > Hi Bruno, > Thanks a lot for your reply. The thing is I tried it with the example... > I even tried it now again with the name you gave it, and it doesn't succeed. > I also tried it with images other than png, and it fails as well. > > Thanks, > > Eitan > > -----Original Message----- > From: Bruno Aranda [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 22, 2005 8:41 AM > To: MyFaces Discussion > Subject: Re: Uploading file with a name containing non-ascii chars > > Eitan, I've tried to reproduce this using the fileUpload example of > the myfaces examples. I've created two image files: testimage.png and > tèstímägê.png, and both files have been uploaded without problems. You > could check what is the difference between your application code and > the examples. To do so, you should download the examples source from > the web site, > > Regards, > > Bruno > > 2005/6/21, Gur Eitan <[EMAIL PROTECTED]>: > > > > > > > > Hi > > > > I'm trying to use the UploadedFile class to upload files. It works great > > until I try to upload a file with a name containing non-ascii chars (Spanish > > chars for example). > > > > I can have 2 copies of the same file - one with only ascii chars in the > > filename, and one with non-ascii chars, but only the ascii named file > > succeeds the upload. > > > > Is there a way to solve this? > > > > Thanks, > > > > Eitan > >

