This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]