Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: cannot open file with non-ASCII filename Date: Mon, 14 Dec 2015 23:41:21 +0100 Organization: PointedEars Software (PES) Lines: 30 Message-ID: <4412672.gUIyRlH8Kf@PointedEars.de> References: <566F0BD0.8020106@udel.edu> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1450132882 12765 eJwNyckBwDAIA7CZOGxgnBLC/iOk+gpG4Qkn6FhsjikvqR1fE6gtPTvhslN550/vlDW4dqMeHFERHg== (14 Dec 2015 22:41:22 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 14 Dec 2015 22:41:22 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwYkBwCAIA8CVLE+UcYKS/UfoXTo+3B1IRCo1g2vD06qOAwFWm4rm/aRpx+6llwtGntUM+jN5TTlfzg+Hexbm Cancel-Lock: sha1:ib7xaWOe/B9XNdD25LaLR2QdPgI= X-NNTP-Posting-Host: eJwFwYEBwCAIA7CXFITqOZSO/09YEp47GycjT0wM7VG7rM2u2kZdz8lRrcHNPoCXr09GAeQPOkcSQQ== Xref: csiph.com comp.lang.python:100432 Ulli Horlacher wrote: > Laura Creighton wrote: >> Given that Ulli is in Germany, latin-1 is likely to work fine for him. > > For me, but not for my users. We have people from about 100 nations at our > university. > […] > The problem is the input of these filenames. Why do you have to use msvcrt? I would use curses for user input, but: ,- ,- | | No one has made a Windows port of the curses module. On a Windows | platform, try the Console module written by Fredrik Lundh. The Console | module provides cursor-addressable text output, plus full support for | mouse and keyboard input, and is available from | http://effbot.org/zone/console-index.htm. So you should try that instead. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.