bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scrub last - better patch....


From: Richard Frith-Macdonald
Subject: Re: Scrub last - better patch....
Date: Wed, 10 Sep 2003 09:18:50 +0100


On Tuesday, September 9, 2003, at 10:41 PM, Pete French wrote:

Sorry about this, please ignore the last UTF8/UTF16 patch, this one
has a slight change which makes it better (but got missed in the
original email). The addition is to consider the high word of the
surrogate pairs as non-spacing. That is a very convenient way for
the rest of the code which does not understand UTF-16 to look at it, as
well as having a nice side effect of causing the
rangeOfComposedCharacterSequenceAtIndex: method to functionas it does on OSX - i.e. give the range of the surrogate pair when applied to either of
them individually.

Thanks ... looked OK and seemed to work (not break my existing code)
so I applied it, though I don't have any testcases for what it's supposed
to do.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]