summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-06-19 09:33:45 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-06-19 09:33:45 +0000
commitd66550cae65713abd86ec9633bc7b17ca8af6171 (patch)
tree4ff7f48019d69776f0576c37c61b91a58c41117b
parent344ea7b658c4b9d4f5133ab3cedc9ec24f4f7e33 (diff)
downloadcygnal-d66550cae65713abd86ec9633bc7b17ca8af6171.tar.gz
cygnal-d66550cae65713abd86ec9633bc7b17ca8af6171.tar.bz2
cygnal-d66550cae65713abd86ec9633bc7b17ca8af6171.zip
* new-features.sgml (ov-new1.7-misc): Add new link libs.
* setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth feature.
-rw-r--r--winsup/doc/ChangeLog6
-rw-r--r--winsup/doc/new-features.sgml2
-rw-r--r--winsup/doc/setup2.sgml25
3 files changed, 29 insertions, 4 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 910f970bc..32039c9c5 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * new-features.sgml (ov-new1.7-misc): Add new link libs.
+ * setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth
+ feature.
+
2009-06-12 Ken Brown <kbrown@cornell.edu>
* faq-using.xml (faq.using.emacs): Update.
diff --git a/winsup/doc/new-features.sgml b/winsup/doc/new-features.sgml
index 2e27f0329..8139696a4 100644
--- a/winsup/doc/new-features.sgml
+++ b/winsup/doc/new-features.sgml
@@ -268,6 +268,8 @@
<screen>
- New ldd utility, similar to Linux.
+- New link libraries libdl.a, libresolve.a, librt.a.
+
- Fallout from the long path names: If the current working directory is
longer than 260 bytes, or if the current working directory is a virtual
path (like /proc, /cygdrive, //server), don't call native Win32 programs
diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml
index a5c8f3da4..49dd3e0e8 100644
--- a/winsup/doc/setup2.sgml
+++ b/winsup/doc/setup2.sgml
@@ -177,10 +177,27 @@ default ASCII-only behaviour.
</para>
<para>
-Right now the language and territory content is not evaluated by Cygwin any
-further. The only important part so far is the character set. How does that
-work?
-</para>
+Right now the language and territory, as well as the modifier, are not
+important to Cygwin, except to fix a single problem. There's a class of
+characters in the Unicode character set, called the "CJK Ambiguous Width
+Character set". For these characters the width returned by the
+wcwidth/wcswidth function is usually 1. This is often a problem in
+East-Asian languages, which historically use character sets in which
+these characters have a width of 2. Kind of explains why they are
+called "ambiguous"...</para>
+
+<para>
+The problem has been fixed for now like this. wcwidth/wcswidth usually
+return 1 as the width of these characters. However, if the language is
+specifed as "ja" (Japanese), "ko" (Korean), or "zh" (Chinese), wcwidth
+returns 2 for these characters. Unfortunately this isn't correct in
+all circumstances, so the user can specify the modifier "@cjknarrow",
+which modifies the behaviour of wcwidth/wcswidth to return 1 for the
+ambiguous width characters to return 1 even in those languages.</para>
+
+<para>
+Other than that, the only important part so far is the character set.
+How does that work?</para>
</sect2>