delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/08/09:21:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090508130901.GL21324@calimero.vinschen.de>
References: <3f0ad08d0905080602s36a9eddg852eaa3ea3a2a69f AT mail DOT gmail DOT com> <20090508130901 DOT GL21324 AT calimero DOT vinschen DOT de>
Date: Fri, 8 May 2009 22:21:34 +0900
Message-ID: <3f0ad08d0905080621j2b1f97b9p317ee1df0f1dfc76@mail.gmail.com>
Subject: Re: [1.7][python] File operation API to multibyte filenames fails.
From: IWAMURO Motonori <deenheart AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Hi.

2009/5/8 Corinna Vinschen <corinna-cygwin AT cygwin DOT com>:
> Your scripts. =A0Python correctly doesn't use setlocale because it's
> the responsibility of the application to set the local if it uses
> non-ASCII chars. =A0And Cygwin simply has no chance to convert UTF-8
> to UTF-16 if the application doesn't ask for UTF-8.

Oh, it is very very difficult.
Because ALL python utilities which access files or directories fail.
For example, Mercurial doesn't work.

> hg stat
abort: Invalid or incomplete multibyte or wide character: /home/iwa
--=20
IWAMURO Motnori <http://vmi.jp/>

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019