Re: How to set the charset in WAHtmlErrorHandler

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Thanks Johan,

Am 06.09.18 um 15:24 schrieb Johan Brichau:
> Something along these lines:
>     self requestContext respond: [ :response |
>         response
>             internalError;
>             contentType: ((WAMimeType textHtml) charset: 'utf-8’);

This was exactly what was missing. WAMimeType>>#charset:

btw: I just noticed Seaside has implementers of charset: and charSet: 
unfortunately not in a way that you can always use either one.
Maybe a candidate for a "next time we do some cleanup" list.


Joachim

_______________________________________________
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.