On Sun, Jun 01, 2008 at 04:23:10PM +0900, Atsuo Ishimoto wrote: > silently print converted > characters. Ditto for utilities such as 'ls'.
$ ls -lF work/ total 72 drwxr-x--- 7 phd phd 4096 May 27 11:14 ?????/ drwx------ 9 phd phd 4096 May 30 17:30 ?????/ drwxr-xr-x 4 phd phd 4096 May 13 18:35 books/ [truncate] Filesystem encoding is koi8-r, terminal encoding is UTF-8, ls doesn't convert (because it doesn't know filesystem encoding) but simply replaces, like in Python filename.encode(LC_CTYPE, "replace"). No error reported. Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com