Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-01-25 13:50:21 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-01-25 13:50:21 +0300
commitaced35f8834dd26101b41fbab6713b04459f5775 (patch)
tree2342f5645b4f56ca64f9489da69d513eab5fc96e /winsup/doc/pathnames.sgml
parent4fc8ae4f7babac6a9b3ad9f98ba3e437b41b4fd0 (diff)
* faq-using.xml: Fix typos and remove incorrect locale-specific
documentation. * new-features.sgml: Ditto. * pathnames.sgml: Ditto.
Diffstat (limited to 'winsup/doc/pathnames.sgml')
-rw-r--r--winsup/doc/pathnames.sgml14
1 files changed, 2 insertions, 12 deletions
diff --git a/winsup/doc/pathnames.sgml b/winsup/doc/pathnames.sgml
index 4cca824f5..d65f016c7 100644
--- a/winsup/doc/pathnames.sgml
+++ b/winsup/doc/pathnames.sgml
@@ -403,22 +403,12 @@ Converting backslashes using the above method would make this impossible.</para>
<sect2 id="pathnames-unusual">
<title>Filenames with unusual (foreign) characters</title>
-<para> Windows filesystems use the Unicode character set in the UTF-16
-encoding to store filename information. If you don't use the UTF-8
+<para> Windows filesystems use Unicode encoded as UTF-16
+to store filename information. If you don't use the UTF-8
character set (see <xref linkend="setup-locale"></xref>) then there's a
chance that a filename is using one or more characters which have no
representation in the character set you're using.</para>
-<para>For instance, there are no Chinese characters in the ISO-8859-1
-character set. So, converting a filename containing a Chinese character
-to ISO-8859-1 leaves you with a wrongly converted filename, for instance,
-containing a question mark '?' as replacement for the unconvertable
-character. When trying to access the file, Cygwin has to convert the
-filename back to UTF-16. However, this doesn't result in the original
-filename because the question mark will not translate back to the original
-Chinese character, but to a simple question mark instead. This in turn
-results in strange "File not found" messages.</para>
-
<note><para>In the default "C" locale, Cygwin creates filenames using
the UTF-8 charset. This will always result in some valid filename by
default, but again might impose problems when switching to a non-"C"