public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alejandro Colomar (man-pages)" <alx.manpages@gmail.com>
To: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Cc: linux-man <linux-man@vger.kernel.org>
Subject: setlocale.3: Wording issues
Date: Thu, 7 Jan 2021 19:32:46 +0100	[thread overview]
Message-ID: <e198d995-5a85-bda1-1a82-57260b9d4efe@gmail.com> (raw)

Hi Michael,

I don't understand what this paragraph means, I think it needs some wfix.

Around setlocale.3:179:
[
       On  startup  of  the main program, the portable "C" locale is
       selected as default.  A program may be made portable  to  all
       locales by calling:

           setlocale(LC_ALL, "");

       after  program  initialization,  by using the values returned
       from a localeconv(3) call for  locale-dependent  information,
       by  using the multibyte and wide character functions for text
       processing if MB_CUR_MAX > 1, and by  using  strcoll(3),  wc‐
       scoll(3) or strxfrm(3), wcsxfrm(3) to compare strings.

<<<Especially these last 2 lines

]

Thanks,

Alex

-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

             reply	other threads:[~2021-01-07 18:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 18:32 Alejandro Colomar (man-pages) [this message]
2021-01-08  9:26 ` setlocale.3: Wording issues Michael Kerrisk (man-pages)
2021-01-08 11:41   ` Alejandro Colomar (man-pages)
2021-01-08 12:45     ` Michael Kerrisk (man-pages)
2021-01-08 13:05       ` Alejandro Colomar (man-pages)
2021-01-08 13:17         ` Michael Kerrisk (man-pages)
2021-01-08 13:21           ` Alejandro Colomar (man-pages)
2021-01-08 16:10             ` Bruno Haible
2021-01-09  8:42               ` Michael Kerrisk (man-pages)

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=e198d995-5a85-bda1-1a82-57260b9d4efe@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    /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