Some locale related updates
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,
Signature · 5 lines
Marko Myllynen -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Marko,
Quoted 5 lines · Marko Myllynen
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?
Quoted 9 lines
Related to wording, I see that setlocale(3) states:
The locale "C" or "POSIX" is a portable locale; its
LC_CTYPEpart corresponds to the 7-bit ASCII character set.And
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
states:
Quoted 6 lines
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
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
Quoted 11 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Marko Myllynen
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!
Quoted 9 lines
Quoted 9 lines
Related to wording, I see that setlocale(3) states:
The locale "C" or "POSIX" is a portable locale; its
LC_CTYPEpart corresponds to the 7-bit ASCII character set.And
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02
states:
Quoted 8 lines
Quoted 6 lines
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,
Signature · 5 lines
Marko Myllynen -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 31 lines · Marko Myllynen
Hi,
Quoted 11 lines · Michael Kerrisk (man-pages)
Quoted 4 lines · Marko Myllynen
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!
Quoted 14 lines
Quoted 14 lines
Related to wording, I see that setlocale(3) states:
The locale "C" or "POSIX" is a portable locale; its
LC_CTYPEpart 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.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
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
Signature · 7 lines
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html