diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-10-28 10:09:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-10-28 10:09:54 +0000 |
commit | 641ba32982ab2129d3ad532a2289c87bf0847643 (patch) | |
tree | ce2bf6466aa8bcceb4982883c88cf9d044986fef /winsup/doc/setup2.sgml | |
parent | a8613735850daa9bb90cdec939a69301f22bb0fe (diff) | |
download | newlib-641ba32982ab2129d3ad532a2289c87bf0847643.zip newlib-641ba32982ab2129d3ad532a2289c87bf0847643.tar.gz newlib-641ba32982ab2129d3ad532a2289c87bf0847643.tar.bz2 |
* new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" default
and the default locale "C.UTF-8".
* setup2.sgml (setup-locale-ov): Ditto.
Diffstat (limited to 'winsup/doc/setup2.sgml')
-rw-r--r-- | winsup/doc/setup2.sgml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml index 9c9e7a1..99558f4 100644 --- a/winsup/doc/setup2.sgml +++ b/winsup/doc/setup2.sgml @@ -180,6 +180,9 @@ variables to "C.charset". For instance</para> "C.ISO-8859-1" </screen> +<para>The default locale in the absence of the aforementioned locale +environment variables is "C.UTF-8".</para> + <para>Windows uses the UTF-16 charset exclusively to store the names of any object used by the Operating System. This is especially important with filenames. Cygwin uses the setting of the locale environment variables @@ -206,7 +209,10 @@ own purpose, typically by using the call</para> setlocale (LC_ALL, ""); </screen> -<para>early in the application code.</para> +<para>early in the application code. Again, so that this doesn't get +lost: If the application calls setlocale as above, and there is none +of the important locale variables set in the environment, the locale +is set to the default locale, which is "C.UTF-8".</para> <para> Right now the language and territory, as well as the modifier, are not |