summaryrefslogtreecommitdiffstats
path: root/winsup/doc/setup2.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/doc/setup2.sgml')
-rw-r--r--winsup/doc/setup2.sgml21
1 files changed, 10 insertions, 11 deletions
diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml
index 62904ae6b..e3127bd20 100644
--- a/winsup/doc/setup2.sgml
+++ b/winsup/doc/setup2.sgml
@@ -353,17 +353,16 @@ With the "@cyrillic" modifier it's UTF-8.
<listitem><para>
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. By default, the
-wcwidth/wcswidth functions return 1 as the width of these characters,
-except if the language is specifed as "ja" (Japanese), "ko" (Korean), or
-"zh" (Chinese). In these languages wcwidth and wcswidth return 2 for
-these characters. This is not correct in all circumstances, so the user
-of one of these languages can specify the modifier "@cjknarrow", which
-modifies the behaviour of wcwidth/wcswidth to return 1 for the ambiguous
-width characters.
+"CJK Ambiguous Width" characters. For these characters, the width
+returned by the wcwidth/wcswidth functions is usually 1. This can be a
+problem with East-Asian languages, which historically use character sets
+where these characters have a width of 2. Therefore, wcwidth/wcswidth
+return 2 as the width of these characters when an East-Asian charset such
+as GBK or SJIS is selected, or when UTF-8 is selected and the language is
+specified as "zh" (Chinese), "ja" (Japanese), or "ko" (Korean). This is
+not correct in all circumstances, hence the locale modifier "@cjknarrow"
+can be used to force wcwidth/wcswidth to return 1 for the ambiguous width
+characters.
</para></listitem>
</itemizedlist>