Mantis - Squeak 3.8
Viewing Issue Advanced Details
5398 minor always 11-11-06 03:10 11-11-06 03:14
KenCausey  
 
normal  
new  
open  
none    
none  
0005398: Character>>asUnicode needs to handle possibility of charCode being out of range
This seems to apply to both 3.8-6665 and 3.8.1-6747:

Click the FIND button on the navigator tab and then Bob Superswiki in the project loader. You get an emergency evaluator and after clicking around a bit I was able to get a debugger. In Character>>asUnicode at

v _ table at: self charCode + 1.

self charCode return 9071 and 9072 is outside of the bounds of the table. I would guess that this method really needs to account for the case in which the charCode may be out of bounds.
 CharacterAsUnicodeBounds-klc.1.cs.gz [^] (320 bytes) 11-11-06 03:14

Notes
(0008187)
KenCausey   
11-11-06 03:14   
I have attached a simplistic but apparently workable solution.