Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-08-22 12:44:04 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-08-22 12:44:04 +0400
commitd90dc552acdc3de93527f8f07621434803a2f9ef (patch)
tree0fa09a89efd246afdd902733c05689f9f9a967b8
parent6282fe16ddf562366d87d7e23ba3b63413cb0218 (diff)
* setup2.sgml (setup-locale-charsetlist): Add description of
case-insensitivity of charsets. Fix a typo. Add "UTF8" to the list.
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/setup2.sgml10
2 files changed, 12 insertions, 3 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 75c5e5371..fdd3a5399 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-22 Corinna Vinschen <corinna@vinschen.de>
+
+ * setup2.sgml (setup-locale-charsetlist): Add description of
+ case-insensitivity of charsets. Fix a typo. Add "UTF8" to the list.
+
2009-08-12 Dave Korn <dave.korn.cygwin@gmail.com>
* faq-using.xml (faq.using.bloda): Typofix MacAfee -> McAfee.
diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml
index 9d046034e..e102c0714 100644
--- a/winsup/doc/setup2.sgml
+++ b/winsup/doc/setup2.sgml
@@ -387,12 +387,16 @@ formats, and no support for native language sorting orders.
be glad for coding help in this area.</para>
</sect2>
-
+
<sect2 id="setup-locale-charsetlist"><title>List of supported character sets</title>
<para>Last but not least, here's the list of currently supported character
sets. The left-hand expression is the name of the charset, as you would use
it in the internationalization environment variables as outlined above.
+Note that charset specifiers are case-insensitive. <literal>EUCJP</literal>
+is equivalent to <literal>eucJP</literal> or <literal>eUcJp</literal>.
+Writing the charset in the exact case as given in the list below is a
+good convention, though.
</para>
<para>The right-hand side is the number of the equivalent Windows
@@ -400,7 +404,7 @@ codepage as well as the Windows name of the codepage. They are only
noted here for reference. Don't try to use the bare codepage number or
the Windows name of the codepage as charset in locale specifiers, unless
they happen to be identical with the left-hand side. Especially in case
-oif the "CPxxx" style charsets, always use them with the trailing "CP".</para>
+of the "CPxxx" style charsets, always use them with the trailing "CP".</para>
<para>This works:</para>
@@ -465,7 +469,7 @@ oif the "CPxxx" style charsets, always use them with the trailing "CP".</para>
eucJP 20932 (EUC Japanese)
eucKR 949 (EUC Korean)
- UTF-8 65001 (UTF-8)
+ UTF-8 or UTF8 65001 (UTF-8)
</screen>
</sect2>