|
|
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
|
|
|
1bb262 |
@@ -29,6 +29,8 @@ ASCII, GB 2312, ISO 8859, JIS, KOI8-R, KS, and Unicode.
|
|
|
1bb262 |
The primary emphasis is on character sets that were actually used by
|
|
|
1bb262 |
locale character sets, not the myriad others that could be found in data
|
|
|
1bb262 |
from other systems.
|
|
|
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 |
|