This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [Fwd: [1.7] wcwidth failing configure tests]
> How should that work? ÂThe first half of the surrogate pair has not
> enough information to decide that. ÂFor instance, take the ranges
> 0x10A01, 0x10A03 }, { 0x10A05, 0x10A06 }. ÂThe information about the low
> 10 bits of the Unicode value is in the second half of the pair. ÂFrom
> the first half you don't know if the char is perhaps the 0x10A04 value
> or one of the other. ÂSo you need both halves to make a decision.
You're right. I'd somehow overlooked the end of the combining[] array.
Andy