[Seaside] Re: File upload - encoding issue

Sven Van Caekenberghe sven at stfx.eu
Thu Oct 9 07:30:32 UTC 2014


On 09 Oct 2014, at 08:46, Dave <lasmiste at gmail.com> wrote:

> Sven Van Caekenberghe-2 wrote
>>> 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):
> 
> Right, I also can't find where utf-8 is set. Any idea on how can I change
> the charset?

Well, there is an accept-charset="utf-8" in the form, but it does not appear in the submitted form (I only checked one browser). Like I said, I need an informed opinion to help me make a decision here. 

As a quick work around, you can convert the strings you get using

 (GRCodec forEncoding: 'utf-8') decode: 'your string'.

I will keep this on my todo list. I hope to come up with a better solution.

Sven

> Cheers
> Dave
> 
> 
> 
> --
> View this message in context: http://forum.world.st/File-upload-encoding-issue-tp4783446p4783606.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list