[Seaside] UTF-8 in form

radoslav hodnicak rh at 4096.sk
Sat Oct 9 11:52:33 CEST 2004

On Sat, 9 Oct 2004, Avi Bryant wrote:

> On Oct 9, 2004, at 11:06 AM, radoslav hodnicak wrote:
> > Well this is a tricky problem to solve. You need to encode reserved
> > html
> > characters like <>& etc. I guess the only real solution is to wait for
> > squeak to have support for multibyte strings (you could try the 3.8
> > alpha
> > version with m17n) where the encoder can loop over characters, not
> > bytes
> No, it shouldn't be tricky.  We're only encoding those few reserved
> chars, and the whole point of UTF-8 is that if any of the bytes is an
> ASCII byte, it represents that ASCII char, so the kind of mistake
> you're talking about shouldn't happen.

Ah yes, I was looking at the Unicode character table, not UTF8 encoding
table (where all mutilbytes are >= 128)


More information about the Seaside mailing list