All of lore.kernel.org
 help / color / mirror / Atom feed
* Some locale related updates
@ 2015-05-12 13:57 Marko Myllynen
       [not found] ` <555206C7.8000308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Marko Myllynen @ 2015-05-12 13:57 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man

Hi Michael,

I'll send some locale related updates shortly, most of them should be
pretty self-explanatory but I'll provide some references in few cases
and I'm sure you can come up with slightly better wording here and there.

Related to wording, I see that setlocale(3) states:

The locale "C" or "POSIX" is a portable locale; its LC_CTYPE part
corresponds to the 7-bit ASCII character set.

And
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
states:

The tables in Locale Definition describe the characteristics and
behavior of the POSIX locale for data consisting entirely of characters
from the portable character set and the control character set. For other
characters, the behavior is unspecified.

Do you think setlocale(3) is consistent with the above?

Thanks,

-- 
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some locale related updates
       [not found] ` <555206C7.8000308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2015-05-12 14:23   ` Michael Kerrisk (man-pages)
       [not found]     ` <55520CE0.8080302-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-05-12 14:23 UTC (permalink / raw)
  To: myllynen-H+wXaHxf7aLQT0dZR+AlfA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man

Hi Marko,

On 05/12/2015 03:57 PM, Marko Myllynen wrote:
> Hi Michael,
> 
> I'll send some locale related updates shortly, most of them should be
> pretty self-explanatory but I'll provide some references in few cases
> and I'm sure you can come up with slightly better wording here and there.

I've applied all of the following:

    locale.5: document class in LC_CTYPE
    locale.5: document default_missing
    locale.5: document character transliteration
    locale.5: document map "totitle"
    locale.5: copy is not exclusive in LC_CTYPE and LC_COLLATE
    locale.5: document map to_inpunct, map to_outpunct
    locale.5: document outdigit and alt_digits
    locale.5: document charclass and charconv
    locale.7: LC_CTYPE determines transliteration rules on glibc systems

and also this one that you just sent

    locale.5: fix country_isbn format

Are there more to come?

> Related to wording, I see that setlocale(3) states:
> 
> The locale "C" or "POSIX" is a portable locale; its LC_CTYPE part
> corresponds to the 7-bit ASCII character set.
> 
> And
> http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
> states:
> 
> The tables in Locale Definition describe the characteristics and
> behavior of the POSIX locale for data consisting entirely of characters
> from the portable character set and the control character set. For other
> characters, the behavior is unspecified.
> 
> Do you think setlocale(3) is consistent with the above?

Help me here ;-). Do you see a problem? If yes, what is it?

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some locale related updates
       [not found]     ` <55520CE0.8080302-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-05-12 14:46       ` Marko Myllynen
       [not found]         ` <5552123E.9060005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Marko Myllynen @ 2015-05-12 14:46 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man

Hi,

On 2015-05-12 17:23, Michael Kerrisk (man-pages) wrote:
> On 05/12/2015 03:57 PM, Marko Myllynen wrote:
>>
>> I'll send some locale related updates shortly, most of them should be
>> pretty self-explanatory but I'll provide some references in few cases
>> and I'm sure you can come up with slightly better wording here and there.
> 
> I've applied all of the following:
> 
> and also this one that you just sent
> 
> Are there more to come?

no, that's all, thanks for your superfast response!

>> Related to wording, I see that setlocale(3) states:
>>
>> The locale "C" or "POSIX" is a portable locale; its LC_CTYPE part
>> corresponds to the 7-bit ASCII character set.
>>
>> And
>> http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
>> states:
>>
>> The tables in Locale Definition describe the characteristics and
>> behavior of the POSIX locale for data consisting entirely of characters
>> from the portable character set and the control character set. For other
>> characters, the behavior is unspecified.
>>
>> Do you think setlocale(3) is consistent with the above?
> 
> Help me here ;-). Do you see a problem? If yes, what is it?

Perhaps it's just a language issue, the latter is IMHO somewhat clearer
wrt non-ASCII characters (someone could perhaps interpret setlocale(3)
so that non-ASCII characters are not allowed). I'm ok leaving it as-is,
just wanted to hear your opinion.

Thanks,

-- 
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Some locale related updates
       [not found]         ` <5552123E.9060005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2015-05-13 12:05           ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-05-13 12:05 UTC (permalink / raw)
  To: myllynen-H+wXaHxf7aLQT0dZR+AlfA
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man

On 05/12/2015 04:46 PM, Marko Myllynen wrote:
> Hi,
> 
> On 2015-05-12 17:23, Michael Kerrisk (man-pages) wrote:
>> On 05/12/2015 03:57 PM, Marko Myllynen wrote:
>>>
>>> I'll send some locale related updates shortly, most of them should be
>>> pretty self-explanatory but I'll provide some references in few cases
>>> and I'm sure you can come up with slightly better wording here and there.
>>
>> I've applied all of the following:
>>
>> and also this one that you just sent
>>
>> Are there more to come?
> 
> no, that's all, thanks for your superfast response!
> 
>>> Related to wording, I see that setlocale(3) states:
>>>
>>> The locale "C" or "POSIX" is a portable locale; its LC_CTYPE part
>>> corresponds to the 7-bit ASCII character set.
>>>
>>> And
>>> http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
>>> states:
>>>
>>> The tables in Locale Definition describe the characteristics and
>>> behavior of the POSIX locale for data consisting entirely of characters
>>> from the portable character set and the control character set. For other
>>> characters, the behavior is unspecified.
>>>
>>> Do you think setlocale(3) is consistent with the above?
>>
>> Help me here ;-). Do you see a problem? If yes, what is it?
> 
> Perhaps it's just a language issue, the latter is IMHO somewhat clearer
> wrt non-ASCII characters (someone could perhaps interpret setlocale(3)
> so that non-ASCII characters are not allowed). I'm ok leaving it as-is,
> just wanted to hear your opinion.

I suppose I'd take a patch to improve this.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-13 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-12 13:57 Some locale related updates Marko Myllynen
     [not found] ` <555206C7.8000308-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-12 14:23   ` Michael Kerrisk (man-pages)
     [not found]     ` <55520CE0.8080302-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-12 14:46       ` Marko Myllynen
     [not found]         ` <5552123E.9060005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-05-13 12:05           ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.