From: "Yoshiki Ohshima" Yoshiki.Ohshima@acm.org
Boris,
EncodedCharSet>>charSetAt: answers a class. Unicode is also a class,
This is correct.
to find out whether charset is located in the class tree that starts with Unicode, we have to write:
(charset isKindOf: Unicdoe)
The added 'class' is badly wrong; it takes us into the metaclass hierarchy where the check answers false.
Same for MultiCharacter>>asUnicodeChar.
I guess we should add a boolean method to EncodedCharSet's class side, and test the return value. Using #isKindOf: in this kind of (huh?) method doesn't too much sense.
What do you think?
I fear that I fail to fully understand what you plan to do. A code snippet would help.
If it is ok, I'll post a fix along this idea.
Greetings,
Thank you, always,
-- Yoshiki