Re: How to set the charset in WAHtmlErrorHandler

Joachim Tuchel <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Thanks!



> Am 08.09.2018 um 17:14 schrieb Philippe Marschall <[email protected]>:
> 
> On Fri, Sep 7, 2018 at 7:57 AM [email protected]
> <[email protected]> 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
> [email protected]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.