Re: Pharo-users Digest, Vol 28, Issue 28

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

Re: Pharo-users Digest, Vol 28, Issue 28

Roger Gilliar

Am 24.04.2012 um 11:58 schrieb [hidden email]:

UTF8TextConverter new nextFromStream:  '??'  asString readStream

Thanks for the explanation. After changing 

stream nextPut: char basicSqueakToIso .

to

stream nextPut: char .

in readStringAtAddress: anAddress from SqliteResult I was able to get the character back that I expected (after using the UTF8TextConverter). 

And now the following works also (where name contains the UTF-8 string):

arrayOfDicts do:[:row | Transcript show: ((row at: #name) convertFromEncoding: 'UTF-8'); cr]

Regards
   Roger