Re: How to set the charset in WAHtmlErrorHandler
Philippe Marschall <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <CA+LFMPi6yVpk51tYy4PSD8F9hn4yQ6+EFEiZjYSPWzKe=YAsEQ@mail.gmail.com> |
On Fri, Sep 7, 2018 at 7:59 AM [email protected] <[email protected]> wrote: > > 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. That has been known for a while :-( https://github.com/SeasideSt/Seaside/issues/745 Cheers Philippe _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside