[Seaside] How to set the charset in WAHtmlErrorHandler

Joachim Tuchel jtuchel at objektfabrik.de
Sun Sep 9 01:21:50 UTC 2018


Thanks!



> Am 08.09.2018 um 17:14 schrieb Philippe Marschall <philippe.marschall at gmail.com>:
> 
> On Fri, Sep 7, 2018 at 7:57 AM jtuchel at objektfabrik.de
> <jtuchel at objektfabrik.de> wrote:
>> 
>> Philippe,
>> 
>>> Am 06.09.18 um 17:22 schrieb Philippe Marschall:
>>> Something like
>>> 
>>> self handler charSet
>>> is probably better than hard coding utf-8.
>> 
>> agreed. Although WAHtmlErorHandler doesn't implement #handler. So I
>> ended up with this:
>> 
>> 
>>         response
>> 
>>             internalError;
>> 
>>             contentType: ((WAMimeType textHtml) charset: self requestContext charSet);
>> 
>> 
>> Thanks for your tip.
> 
> https://github.com/SeasideSt/Seaside/issues/998
> 
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list