[Top][All Lists]

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

Re: [bug-recutils] Locale issues [was: Comparison operator on reals fail

From: Jose E. Marchesi
Subject: Re: [bug-recutils] Locale issues [was: Comparison operator on reals fails]
Date: Tue, 14 Aug 2012 17:23:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

             * How does locale affect other things.  For example: 
                 - does LC_COLLATE change the sort order?
         No, because we are using strcmp to implement the lexicographic order
         used when sorting strings.  That function uses the integer character
         codes for the comparison.
    Is that the behaviour users want?
    I imagine that French users would expect an e-acute to appear near the 
    unaccented e and Germans would like their sharp-S to appear near the 
    normal S.  And presumably the Spanish like their N-with-squiggle to be
    near the naked N.  
We could use strcoll instead, but then the sorting will depend on the

Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org

reply via email to

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