summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-10-02 12:35:52 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-10-02 12:35:52 +0000
commit45162575d2202dbadc4695113202d20c480bed70 (patch)
tree006135b0b92c79f35e477ddb3c3caa1afe08ff8a
parent284c5ea0a57bd6d5aa1b3159fddc19fb7181beab (diff)
downloadcygnal-45162575d2202dbadc4695113202d20c480bed70.tar.gz
cygnal-45162575d2202dbadc4695113202d20c480bed70.tar.bz2
cygnal-45162575d2202dbadc4695113202d20c480bed70.zip
* setup2.sgml (setup-locale-ov): Fix typo in C+charset example.
Rephrase how the locale environment variables are evaluated.
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/setup2.sgml12
2 files changed, 14 insertions, 3 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 19e7ec866..ddaddfe42 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * setup2.sgml (setup-locale-ov): Fix typo in C+charset example.
+ Rephrase how the locale environment variables are evaluated.
+
2009-09-30 Corinna Vinschen <corinna@vinschen.de>
* new-features.sgml (ov-new1.7-file): Ctrl-X, not Ctrl-N.
diff --git a/winsup/doc/setup2.sgml b/winsup/doc/setup2.sgml
index 15e581768..9c9e7a12d 100644
--- a/winsup/doc/setup2.sgml
+++ b/winsup/doc/setup2.sgml
@@ -177,7 +177,7 @@ another charset, you can define this by setting one of the locale environment
variables to "C.charset". For instance</para>
<screen>
- "C.ISO-9959-1"
+ "C.ISO-8859-1"
</screen>
<para>Windows uses the UTF-16 charset exclusively to store the names
@@ -185,9 +185,15 @@ of any object used by the Operating System. This is especially important
with filenames. Cygwin uses the setting of the locale environment variables
<envar>LC_ALL</envar>, <envar>LC_CTYPE</envar>, and <envar>LANG</envar>, to
determine how to convert Windows filenames from their UTF-16 representation
-to the singlebyte or multibyte character set used by Cygwin. Setting
+to the singlebyte or multibyte character set used by Cygwin.</para>
+
+<para>
+The setting of the locale environment variables at process startup
+is effective for Cygwin's internal conversions to and from the Windows UTF-16
+object names for the entire lifetime of the current process. Changing
the environment variables to another value changes the way filenames are
-converted in subsequently stated programs.</para>
+converted in subsequently started child processes, but not within the same
+process.</para>
<para>
However, even if one of the locale environment variables is set to