Re: How to set the charset in WAHtmlErrorHandler
Johan Brichau <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Something along these lines: E.g. In the handleDefault: method: errorDialog := WARenderCanvas builder fullDocument: true; rootBlock: [ :root | root beHtml5; title: anException description ]; render: [ :html | … whatever you want ... ]. self requestContext respond: [ :response | response internalError; contentType: ((WAMimeType textHtml) charset: 'utf-8’); nextPutAll: errorDialog ] warning: coded in email editor ;) Take a look at WAHtmlErrorHandler as well cheers Johan > On 6 Sep 2018, at 14:50, [email protected] wrote: > > Hi there, > > > I must be sitting on my brain at the moment... > > How do I set the charset=utf-8 header in a WAHtmlErrorHandler subclass? > > > Joachim > > _______________________________________________ > 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