delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <49D4F82E.7050201@users.sourceforge.net> |
Date: | Thu, 02 Apr 2009 12:38:54 -0500 |
From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
User-Agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] codepage:utf removal and python |
References: | <49D3EB8D DOT 3040802 AT acm DOT org> <20090402084037 DOT GA15006 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20090402084037.GA15006@calimero.vinschen.de> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Corinna Vinschen wrote: > And it works as designed in your above testcase. > > I tested with a filename containing a Euro sign (Unicode 0x20ac), in > HTML speak "qq€". Cygwin converted it to "qq\016\342\202\254" > > The strace looks perfectly normal. I have no idea what python complains > about! Having already rebuilt python for cygwin-1.7, gcc-4.3, and tcl/tk-8.5, I built and ran your C code, then: $ export LANG=en_CA.UTF-8 $ python -c "import os; print os.listdir('.')" [..., 'qq\xe2\x82\xac', ...] Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAknU+C4ACgkQpiWmPGlmQSNlfQCfbXfycxkM/kiW6kpjYqt+U7FG ivoAoNAmqrk83LWkxOOQ+kbp+4dl4xGT =u/R7 -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |