diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index 7e43523e1..654c0e177 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,9 @@ +2010-02-05 Corinna Vinschen + + * setup2.sgml (setup-locale-ov): Add description for "uz_UZ@cyrillic" + and "tt_RU@iqtelif" modifiers. Slightly rephrase locale specifier + description in terms of the modifier string. + 2010-02-05 Corinna Vinschen * new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf. diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml index e45a658eb..d6bfde588 100644 --- a/winsup/doc/setup2.sgml +++ b/winsup/doc/setup2.sgml @@ -188,8 +188,8 @@ if there is no ISO 639-1 code for the language (for instance, "Lower Sorbian"), a three character string per ISO 639-3. "TERRITORY" is an uppercase two character string per ISO 3166, charset is -one of a list of supported character sets, and the modifier doesn't matter -here (though it might for some applications). If you're interested in the +one of a list of supported character sets. The modifier doesn't matter +here (though some are recognized, see below). If you're interested in the exact description, you can find it in the online publication of the POSIX manual pages on the homepage of the Open Group. @@ -267,7 +267,8 @@ fetch locale-dependent information from Windows. If the language and territory are not known to Windows, the setlocale function fails. -The modifier is used for two cases. +The following modifiers are recognized. Any other modifier is simply +ignored for now. @@ -276,6 +277,16 @@ sets, the modifier "@euro" can be added to enforce usage of the ISO-8859-15 character set, which includes a character for the "Euro" currency sign . + +The default charset of the "uz_UZ" locale is ISO-8859-1. With the "@cyrillic" +modifier it's UTF-8. + + + +The default charset of the "tt_RU" locale is ISO-8859-5. With the "@iqtelif" +modifier it's UTF-8. + + 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