[Seaside] How to set the charset in WAHtmlErrorHandler
jtuchel at objektfabrik.de
jtuchel at objektfabrik.de
Fri Sep 7 05:59:06 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20180907/38838065/attachment.html>
More information about the seaside
mailing list