public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Gilbert <floppym@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] export LC_CTYPE=en_US.UTF-8
Date: Tue, 6 Aug 2013 20:58:11 -0400	[thread overview]
Message-ID: <CAJ0EP40mpkcsUvtzVyxRDBWB=Ga8t8TCBzduM_ZBawr2dvc=Zw@mail.gmail.com> (raw)
In-Reply-To: <CAPi0psu3pi8YiR7eDVyCLwjxwW+OROBp5n_YWucYC3CFNrKxAg@mail.gmail.com>

On Tue, Aug 6, 2013 at 2:23 PM, Chris Stankevitz
<chrisstankevitz@gmail.com> wrote:
> On Tue, Aug 6, 2013 at 8:13 AM, Mike Gilbert <floppym@gentoo.org> wrote:
>> Leaving LC_COLLATE unset will cause strings to be sorted according to
>> the normal rules associated with your locale.
>
> Mike (or anyone else),
>
> For which applications does setting LC_COLLATE affect sorting:
>
> a) Any C++ application that uses bool std::string::operator<(const std::string&)
>
> b) Any C or C++ application that compares char values using the '<' operator
>
> c) Any application that uses the system call "CompareStrings(const
> char*, const char*)"
>
> d) [your answer here]
>
> I'm sure the answer is not a or b.  I'm sure it's not c either since I
> just made it up.
>

From locale(7):

       LC_COLLATE
              This is used to change the behavior of the  functions
strcoll(3)  and  strxfrm(3),
              which  are  used to compare strings in the local
alphabet.  For example, the German
              sharp s is sorted as "ss".


      reply	other threads:[~2013-08-07  0:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-05 18:25 [gentoo-user] export LC_CTYPE=en_US.UTF-8 Chris Stankevitz
2013-08-05 18:53 ` Mike Gilbert
2013-08-05 18:57   ` Bruce Hill
2013-08-05 21:17     ` Mike Gilbert
2013-08-05 22:52   ` Chris Stankevitz
2013-08-05 23:25     ` [gentoo-user] " Kai Krakow
2013-08-06 13:04     ` [gentoo-user] " Kerin Millar
2013-08-06 13:24       ` Bruce Hill
2013-08-06 13:40         ` Kerin Millar
2013-08-06 14:26           ` Bruce Hill
2013-08-06 14:53             ` Kerin Millar
2013-08-06 15:51       ` Chris Stankevitz
2013-08-06 22:42       ` Stroller
2013-08-07 12:41         ` Kerin Millar
2013-08-07 16:40           ` Stroller
2013-08-07 22:27             ` Kerin Millar
2013-08-06 15:13     ` Mike Gilbert
2013-08-06 18:23       ` Chris Stankevitz
2013-08-07  0:58         ` Mike Gilbert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ0EP40mpkcsUvtzVyxRDBWB=Ga8t8TCBzduM_ZBawr2dvc=Zw@mail.gmail.com' \
    --to=floppym@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox