[Seaside-dev] Character class >> #codePoint: vs. #value:
mlucas-smith at cincom.com
Sun Jun 28 19:55:59 UTC 2009
Philippe Marschall wrote:
> Issue 388  states that Character class >> #value: should be
> replaced with #codePoint: because the later is ANSI standard. I see
> two problems with this. The first is that our codebase currently uses
> #value:. I wouldn't mind changing this though. The bigger problem is
> that in Squeak the arguments for #codePoint: have to be between 0 and
And a third point - currently Strings are used to hold "bytes" as well
as characters when encoding/decoding. If ByteArray were used instead of
String then codePoint/codePoint: on Character in String makes a lot more
sense - despite the limitation in Squeak.
Just my 2c.
More information about the seaside-dev