[Seaside] File upload - encoding issue

Philippe Marschall philippe.marschall at gmail.com
Wed Oct 8 16:08:22 UTC 2014

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
>> ZnMimePart
>> 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?


More information about the seaside mailing list