March 14, 2013
8:05 p.m.
On 14 March 2013 20:58, Mohammad Al Houssami (Alumni) <mha53@mail.aub.edu> wrote:
Hello again.
Does anyone know how can we reflect Unicode characters in Smalltalk?
what you mean reflect?
I want to read characters and compare them with a Unicode representation. Like U+0026 for & or U+003C for < and so on..
Piece of cake. $& asUnicode hex '16r26' $< asUnicode hex '16r3C' In Pharo, Character(s) are inherently stored in unicode. So your main question would be, where you wanna read from (file/network), and what encoding the source uses (utf-8, ucs-16 ucs-32 etc)...
Thanks
Mohammad
-- Best regards, Igor Stasenko.