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

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