[1.7][python] File operation API to multibyte filenames fails.

IWAMURO Motonori deenheart@gmail.com
Fri May 8 13:21:00 GMT 2009


Hi.
2009年5月8日 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> Your scripts.  Python correctly doesn't use setlocale because it's
> the responsibility of the application to set the local if it uses
> non-ASCII chars.  And 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
-- 
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /