Blame SOURCES/1131939-mpo-7.1.0-charsets.7-nl_langinfo.3.patch

c2a259
From 8b74fb5abd8e08f3b1e5cc2847b9650e94abe616 Mon Sep 17 00:00:00 2001
c2a259
From: Jan Chaloupka <jchaloup@redhat.com>
c2a259
Date: Mon, 29 Sep 2014 22:52:57 +0200
c2a259
Subject: [PATCH] Latin1 default UTF-8 recommended encoding
c2a259
c2a259
---
c2a259
 man-pages/man3/nl_langinfo.3 | 7 +++++++
c2a259
 man-pages/man7/charsets.7    | 2 ++
c2a259
 2 files changed, 9 insertions(+)
c2a259
c2a259
diff --git a/man-pages/man3/nl_langinfo.3 b/man-pages/man3/nl_langinfo.3
c2a259
index e38614d..3962a6a 100644
c2a259
--- a/man-pages/man3/nl_langinfo.3
c2a259
+++ b/man-pages/man3/nl_langinfo.3
c2a259
@@ -113,6 +113,13 @@ next call to
c2a259
 .BR nl_langinfo ()
c2a259
 or
c2a259
 .BR setlocale (3).
c2a259
+.PP
c2a259
+Codeset for en_US defaults to ISO-8859-1 (Latin-1).
c2a259
+The Latin-1 default has historical reasons,
c2a259
+since all Unix systems originally used only 8-bit character encoding.
c2a259
+For more information about ISO-8859-1 see
c2a259
+.BR charsets (7).
c2a259
+
c2a259
 .SH CONFORMING TO
c2a259
 SUSv2, POSIX.1-2001.
c2a259
 .SH EXAMPLE
c2a259
diff --git a/man-pages/man7/charsets.7 b/man-pages/man7/charsets.7
c2a259
index 05ff56c..45fd5ad 100644
c2a259
--- a/man-pages/man7/charsets.7
c2a259
+++ b/man-pages/man7/charsets.7
c2a259
@@ -37,6 +37,8 @@ A complete list of charsets used in an officially supported locale in glibc
c2a259
 KOI8-{R,U}, GB2312, GB18030, GBK, BIG5, BIG5-HKSCS and TIS-620 (in no
c2a259
 particular order.)
c2a259
 (Romanian may be switching to ISO-8859-16.)
c2a259
+.LP
c2a259
+The recommended encoding in all settings and locales is UTF-8.
c2a259
 .SS ASCII
c2a259
 ASCII (American Standard Code For Information Interchange) is the original
c2a259
 7-bit character set, originally designed for American English.
c2a259
-- 
c2a259
1.9.3
c2a259