[Seaside] File upload - encoding issue
Sven Van Caekenberghe
sven at stfx.eu
Wed Oct 8 17:07:56 UTC 2014
On 08 Oct 2014, at 18:08, Philippe Marschall <philippe.marschall at gmail.com> wrote:
> On Wed, Oct 8, 2014 at 5:28 PM, Sven Van Caekenberghe <sven at stfx.eu> wrote:
>> Hi Dave,
>> On 08 Oct 2014, at 15:25, Dave <lasmiste at gmail.com> wrote:
>>> Hi there,
>>> I've an issue with file upload. It's about files with accents in name for
>>> example: hellò.doc.
>>> On the debugger I see the WAFile filename is hellÃ²7.doc and it comes from
>>> It's clearly an ecoding problem but I don't know where to look at.
>> Yes, there seems to be an issue here. It can be observed in WAUploadFunctionalTest.
>> ZnZincServerAdaptor>>#convertMultipartFileField: creates the WAFile instance by falling back on ZnMimePart>>#fileName and ZnMimePart>>#contents. It seems that these are UTF-8 encoded, this could be fixed easily I guess.
> Do you have information in the request header that suggests UTF-8?
Not that I can see, there are no charset=utf-8 anywhere (but one could assume they are the default):
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
Skipped content of type multipart/related
More information about the seaside