<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 17 Jun 2015, at 23:52, Sven Van Caekenberghe &lt;<a href="mailto:sven@stfx.eu" class="">sven@stfx.eu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I am sorry, like I said: 'I just don't know why it does not work in Seaside, normally special characters should just work, no need to do anything special.'</span></div></blockquote></div><br class=""><div class="">It doesn’t work because this is not exactly using Seaside.&nbsp;</div><div class="">It’s using the Seaside canvas, and that’s it.</div><div class=""><br class=""></div><div class="">As you said, the browser does not get any mimetype and it seems Safari doesn’t take utf-8 as the default..</div><div class=""><br class=""></div><div class="">When you use the WABuilder, there’s the #rootBlock: method to render the root part of the document, where it seems one can pass the encoding to be used by the browser.</div><div class="">Try this:</div><div class=""><br class=""></div><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>| fullDocument |</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>fullDocument := WAHtmlCanvas builder&nbsp;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>fullDocument: true;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>rootBlock: [:root | root meta contentType: (WAMimeType textHtml charset:'utf-8') ];</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                </span>render: [ :html | html text: 'Ñuñoa' ].</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>&nbsp;</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span> '/tmp/test.html' asFileReference writeStreamDo: [ :out | out &lt;&lt; fullDocument ].</div></div><div class=""><br class=""></div><div class="">cheers</div><div class="">Johan</div></body></html>