[Pharo-project] Unicode test II
m.rueger at acm.org
Tue Mar 3 20:55:17 EST 2009
Igor Stasenko wrote:
> 2009/3/4 Michael Rueger <m.rueger at acm.org>:
> scanMultiCharactersCombiningFrom: startIndex to: stopIndex in:
> sourceString rightX: rightX stopConditions: stops kern: kernDelta
> method near following statement:
> (encoding = 0 and: [(stopConditions at: charCode + 1) ~~ nil]) ifTrue: [
hmm, could be that the encoding gets lost somewhere and so allows the
code to enter the block.
I think we rather need to test for charCode < 256 as the stopConditions
are only of that size for any encoding AFAIK.
More information about the Pharo-dev