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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Paul DeBruicker
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
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

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

Dale Henrichs-3
Paul,

I just tried these in my 3.1.0.4 image with GemTools and I'm not getting any errors ... I'm using GLASS 1.0-beta.9.1 and GemTools 1.0-8.7.1 for my tests ...

Dale

----- Original Message -----
| From: "Paul DeBruicker" <[hidden email]>
| To: [hidden email]
| Sent: Thursday, September 5, 2013 8:21:11 AM
| Subject: [Glass] "(Character value: 16r263a) asString inspect" gives an error in gemtools
|
| 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
| _______________________________________________
| Glass mailing list
| [hidden email]
| http://lists.gemtalksystems.com/mailman/listinfo/glass
|
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

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

Paul DeBruicker
Thanks Dale,

I must've borked my GemTools.  Reinstalling and upgrading fixed it.


Paul




On 09/05/2013 03:15 PM, Dale K. Henrichs wrote:

> Paul,
>
> I just tried these in my 3.1.0.4 image with GemTools and I'm not getting any errors ... I'm using GLASS 1.0-beta.9.1 and GemTools 1.0-8.7.1 for my tests ...
>
> Dale
>
> ----- Original Message -----
> | From: "Paul DeBruicker" <[hidden email]>
> | To: [hidden email]
> | Sent: Thursday, September 5, 2013 8:21:11 AM
> | Subject: [Glass] "(Character value: 16r263a) asString inspect" gives an error in gemtools
> |
> | 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
> | _______________________________________________
> | Glass mailing list
> | [hidden email]
> | http://lists.gemtalksystems.com/mailman/listinfo/glass
> |
>

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass