Feb. 5, 2010
7:01 p.m.
Henrik Sperre Johansen wrote:
i<= 128 ifTrue:[ NonAsciiMap at: i put: 0. "valid ascii subset" ] ifFalse:[ NonAsciiMap at: i put: 1. "extended charset"
]. ].
Notice the "i<= 128" vs. "i< 128". That fixes it, but now the concept of NonAsciiMap is wrong. I'm not sure what the final fix should be.
No, that's me making an off-by-one error :S The i <= 128 is correct.
Then the comments are misleading, because 128 is in the extended charset.