Blame SOURCES/man-pages-4.15-nl_langinfo.3-charsets.7-codesets.patch

fd941c
From 260d71520ec0c96ef20670eca17d7b08cc9601ad Mon Sep 17 00:00:00 2001
fd941c
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
fd941c
Date: Fri, 27 Jul 2018 17:10:43 +0200
fd941c
Subject: [PATCH 1/5] nl_langinfo.3: note that Latin-1 is the default codeset
fd941c
 for en_US locale charsets.7: note that UTF-8 is the recommended encoding for
fd941c
 all locales
fd941c
fd941c
---
fd941c
 man3/nl_langinfo.3 | 6 ++++++
fd941c
 man7/charsets.7    | 2 ++
fd941c
 2 files changed, 8 insertions(+)
fd941c
fd941c
diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3
fd941c
index e37f07b..63de5c2 100644
fd941c
--- a/man3/nl_langinfo.3
fd941c
+++ b/man3/nl_langinfo.3
fd941c
@@ -167,6 +167,12 @@ or
fd941c
 .PP
fd941c
 POSIX specifies that the application may not modify
fd941c
 the string returned by these functions.
fd941c
+.PP
fd941c
+Codeset for en_US defaults to ISO-8859-1 (Latin-1).
fd941c
+The Latin-1 default has historical reasons,
fd941c
+since all Unix systems originally used only 8-bit character encoding.
fd941c
+For more information about ISO-8859-1 see
fd941c
+.BR charsets (7).
fd941c
 .SH ATTRIBUTES
fd941c
 For an explanation of the terms used in this section, see
fd941c
 .BR attributes (7).
fd941c
diff --git a/man7/charsets.7 b/man7/charsets.7
fd941c
index 5f91784..9de88fe 100644
fd941c
--- a/man7/charsets.7
fd941c
+++ b/man7/charsets.7
fd941c
@@ -29,6 +29,8 @@ ASCII, GB 2312, ISO 8859, JIS, KOI8-R, KS, and Unicode.
fd941c
 The primary emphasis is on character sets that were actually used by
fd941c
 locale character sets, not the myriad others that could be found in data
fd941c
 from other systems.
fd941c
+.LP
fd941c
+The recommended encoding in all settings and locales is UTF-8.
fd941c
 .SS ASCII
fd941c
 ASCII (American Standard Code For Information Interchange) is the original
fd941c
 7-bit character set, originally designed for American English.
fd941c
-- 
fd941c
2.17.1
fd941c