Unicode collation [Was: Re: svn commit: r202572 - head/lib/libc/gen]

Gabor Kovesdan gabor at FreeBSD.org
Thu Jan 21 12:01:07 UTC 2010


El 2010. 01. 21. 12:57, Andrey Chernov escribió:
> On Thu, Jan 21, 2010 at 04:25:53PM +1100, Bruce Evans wrote:
>    
>>> To be used in practice, strcoll() should never fails, doing fallback to
>>> strcmp() instead, not only in that, but in lots of other cases too (it may
>>> set errno like EILSEQ, but not fails). The next important thing is to
>>> return 0 only for true binary equals, additionaly ranking (f.e. by
>>> strcmp()) anything inside classes of equality to stabilize result.
>>>
>>> I hope our strcoll() will be kept in that state after implementing
>>> UCA too.
>>>        
>> What is UCA?
>>      
> http://unicode.org/reports/tr10/
>    
IIRC, there was a SoC student working on collation. Do we know something 
about him and the status of that project?

Cheers,

-- 
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: gabor at FreeBSD.org .:|:. gabor at kovesdan.org
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org



More information about the svn-src-all mailing list