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

7dd887
From 8b74fb5abd8e08f3b1e5cc2847b9650e94abe616 Mon Sep 17 00:00:00 2001
7dd887
From: Jan Chaloupka <jchaloup@redhat.com>
7dd887
Date: Mon, 29 Sep 2014 22:52:57 +0200
7dd887
Subject: [PATCH] Latin1 default UTF-8 recommended encoding
7dd887
7dd887
---
7dd887
 man-pages/man3/nl_langinfo.3 | 7 +++++++
7dd887
 man-pages/man7/charsets.7    | 2 ++
7dd887
 2 files changed, 9 insertions(+)
7dd887
7dd887
diff --git a/man-pages/man3/nl_langinfo.3 b/man-pages/man3/nl_langinfo.3
7dd887
index e38614d..3962a6a 100644
7dd887
--- a/man-pages/man3/nl_langinfo.3
7dd887
+++ b/man-pages/man3/nl_langinfo.3
7dd887
@@ -113,6 +113,13 @@ next call to
7dd887
 .BR nl_langinfo ()
7dd887
 or
7dd887
 .BR setlocale (3).
7dd887
+.PP
7dd887
+Codeset for en_US defaults to ISO-8859-1 (Latin-1).
7dd887
+The Latin-1 default has historical reasons,
7dd887
+since all Unix systems originally used only 8-bit character encoding.
7dd887
+For more information about ISO-8859-1 see
7dd887
+.BR charsets (7).
7dd887
+
7dd887
 .SH CONFORMING TO
7dd887
 SUSv2, POSIX.1-2001.
7dd887
 .SH EXAMPLE
7dd887
diff --git a/man-pages/man7/charsets.7 b/man-pages/man7/charsets.7
7dd887
index 05ff56c..45fd5ad 100644
7dd887
--- a/man-pages/man7/charsets.7
7dd887
+++ b/man-pages/man7/charsets.7
7dd887
@@ -29,6 +29,8 @@ ASCII, GB 2312, ISO 8859, JIS, KOI8-R, KS, and Unicode.
7dd887
 The primary emphasis is on character sets that were actually used by
7dd887
 locale character sets, not the myriad others that could be found in data
7dd887
 from other systems.
7dd887
+.LP
7dd887
+The recommended encoding in all settings and locales is UTF-8.
7dd887
 .SS ASCII
7dd887
 ASCII (American Standard Code For Information Interchange) is the original
7dd887
 7-bit character set, originally designed for American English.
7dd887
-- 
7dd887
1.9.3
7dd887