[Seaside] Accent in generated pages
alexandre.bergel at me.com
Wed Jun 17 20:48:12 UTC 2015
> $ cat /tmp/test.html
> $ file /tmp/test.html
> /tmp/test.html: HTML document text
Okay, but I am opening test.html within Safari, then accents are not shown.
You pointed me on these codec, but I see none related to string accent conversion.
I have seen the class WAUrlEncoder, but this is for URL.
| w |
w := WriteStream on: String new.
'Ñuñoa' do: [ :c |
WAUrlEncoder encode: c on: w ].
I need something like that but for html code.
I tried also
'Ñuñoa' encodeOn: WAXmlDocument new
But no, I do not get something that starts with: 'Ñu…'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside