Mantis - Squeak
Viewing Issue Advanced Details
6395 Collections minor always 04-01-07 21:30 04-18-10 22:04
nicolas cellier  
nicolas cellier  
normal  
closed 3.9  
fixed  
none    
none trunk  
0006395: Character>>asUnicodeChar clean-up
Character>>asUnicodeChar seems weird:
- either it returns an Integer
- or a Character

$A asUnicodeChar.
16r100000F asCharacter asUnicodeChar.

Method comment says this method should be replaced...
It has a unique sender CompoundTextConverter>>nextFromStream:
Yoshiki pushed a solution on squeak-dev
1) fix the behaviour to allways answer a Character
2) move the method in CompoundTextConverter>>toUnicode:
(like for the JIS case).

see attached file.
 unicodeCharFix-yo.2.cs.gz [^] (758 bytes) 04-01-07 21:30

Notes
(0013072)
nicolas cellier   
04-02-09 18:44   
"fix begin"
Installer mantis bug: 6395 fix:'unicodeCharFix-yo.2.cs.gz'.
"fix test"
"fix end"
(0013350)
nicolas cellier   
10-05-09 19:07   
Fixed in http://source.squeak.org/trunk/Multilingual-nice.50.mcz [^]
and http://source.squeak.org/trunk/Collections-nice.160.mcz [^]

http://source.squeak.org/trunk/update-nice.34.mcm [^] ensure correct order