[Seaside] Displaying non-ascii characters

Frank Mueller frank at mweb.de
Thu Nov 11 20:40:22 CET 2004


Hi,

somethig that helped me for displaying german umlauts has been the message
#squeakToIso sent to the string to display.

mue

> I'm trying to display non-ascii multi-byte characters and as a start, I
> implement #renderContentOn: as
>
>      renderContentOn: html
>          | f s |
>          f := FileStream fileNamed: 'path-to-some-file'.
>          [s := f contents]
>          ensure: [f close].
>          html text: s
>
> I'm running windows and opening the file in notepad shows the text
> correctly. But garbage is shown  on the HTML page. Can anyone help? Thanks.

-- 
**
** Frank Mueller / Oldenburg / Germany
**
** frank at mweb.de    http://www.mweb.de
**



More information about the Seaside mailing list