[Seaside] Displaying non-ascii characters
Yar Hwee Boon
hboon at motionobj.com
Thu Nov 11 17:45:03 CET 2004
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.
--
Regards
HweeBoon
MotionObj
More information about the Seaside
mailing list