[Seaside] [Q] [Scriptaculous and Comet] SUStream related question

Philippe Marschall philippe.marschall at gmail.com
Fri Oct 13 13:30:16 UTC 2006


2006/10/13, Sungjin Chun <chunsj at embian.com>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> asUnicode returns unicode value of a given character, asInteger returns
> (rather meaningless) squeak only definition of value of character.

Oh no. On >= 3.8 #asInteger returns the unicode code point. Which is
_exactly_ what you need.

Philippe

> On
> 3.7, I'm not sure this method exists or not. But at least for me, who
> need to use UTF-8(for korean), asInteger makes the application not work.
>
> Thanks.
>
> Lukas Renggli wrote:
> >> In SUStream class method encode:to: the character is encoded using
> >> asInteger. But I think this seems wrong. Should it be asUnicode instead
> >> of asInteger?
> >
> > I don't remember exactly, but it is certainly a spot where we have to
> > take care with VisualWorks compatibility. What is the difference
> > between #asUnicode and #asInteger? Is #asUnicode available in 3.7?
> >
> > Lukas
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFL4yoQqspS1+XJHgRAoncAKCb+upu1iH9o8OeS2DQIpzwO2mUPACfbAkd
> LsUMU9wMm82TVcIYEcl8Ojk=
> =hbl5
> -----END PGP SIGNATURE-----
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list