[Glass] "(Character value: 16r263a) asString inspect" gives an error in gemtools

Paul DeBruicker pdebruic at gmail.com
Thu Sep 5 08:21:11 PDT 2013


Hi
	I'm porting the JSON library from squeaksource to 3.1.0.4 because I've
written a bunch of things that use it and don't want to change each of
them if I don't have to.  In trying to fix a Unicode related test I've
found that while this:

(Character value: 85) asString inspect "U"

works fine

(Character value: 16r0055) asString inspect "U"

and


(Character value: 16r263a) asString inspect "smiley face"

do not


when inspecting 16r0055 you get two inspectors (one on U and one on nil)
and when using 16r263a you get a DNU for ByteArray>>isOctectString in
Pharo, not the stone.


Any ideas on how to fix either of these?

Thanks



PS. The Json library is here: http://smalltalkhub.com/mc/pdebruic/JSONg/main


More information about the Glass mailing list