[Seaside] Seaside and Squeak 3.8
mbany at cincom.com
Thu Mar 31 11:32:11 CEST 2005
> Seaside cannot work correctly with MultiStrings. If any
> component renders some MultiString, the resultant page has
> wrong encoding. Try attached sample.
Your example works fine by me.
I believe it all depends on what you have in method
and this depends on what version of Seaside you are using.
I think the right code should be
| charOrString |
^ String streamContents:
anObject asString do:
HtmlCharacters at: char asInteger + 1
ifAbsent: [char asCharacter].
ifTrue: [s nextPutAll: charOrString]
ifFalse: [s nextPut: charOrString]]]
Hope this helps,
More information about the Seaside