[Seaside] Re: GRInvalidUtf8Error: Invalid UTF-8 input

Sven Van Caekenberghe sven at stfx.eu
Wed Jun 22 13:28:28 UTC 2016


> On 22 Jun 2016, at 14:01, Hilaire <hilaire at drgeo.eu> wrote:
> 
> My suggestion is to remove the decode: in this method.

I think that too.

> I am not sure about the whole implication.

Me neither ;-)

In any case, here is an older discussion about the same topic: 

http://forum.world.st/File-upload-encoding-issue-tt4783446.html

Sven

> Hilaire
> 
> Le 22/06/2016 13:33, Hilaire a écrit :
>> ZNZincServerAdaptor>>convertMultipartFileField: part
>> | file |
>> (file := WAFile new)
>> 	fileName: (self codec decode: part fileName);
>> 	contentType: part contentType printString;
>> 	contents: part contents asByteArray.
>> ^ file
>> 
>> Timecode is 11/14/2014 from Johan, where the decode was added.
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list