Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19240

Re: Trouble with internationalized path under windows

From Jacob Hallén <jacob.hallen@sotospeak.se>
Organization So to Speak AB
Subject Re: Trouble with internationalized path under windows
Date 2012-01-22 22:39 +0100
References <201201222108.18950.jacob.hallen@sotospeak.se> <CAMZYqRTksTYL20kpg9yuep1p4QXDS+jbyeypMW3aUX0xkNUvzA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4944.1327268335.27778.python-list@python.org> (permalink)

Show all headers | View raw


Sunday 22 January 2012 you wrote:
> On Sun, Jan 22, 2012 at 12:08 PM, Jacob Hallén
> 
> <jacob.hallen@sotospeak.se> wrote:
> > I have a problem which ought to have an obvious solution, but I haven't
> > found one despite searching for many hours. The problem occurs on
> > Windows.
> > 
> > This is a version of my problem reduced to its essentials:
> > 
> > I have a file foo.py::
> > 
> > import bar
> > 
> > and a file bar.py :
> > 
> > baz = 42
> > 
> > If I store these two files  in say C:\Users\Admin\test everything works
> > fine.
> > 
> > If I store them in C:\Users\Admin\testф, I get an import error when
> > running foo.py. The letter at the end of test is a Russian "F", if it
> > looks strange on your terminal.
> 

I should add that I'm changing the path name by using the file manager in 
Windows (this is Windows 7 btw) and changing my keyboard to a Russian 
keyboard. This is a standard Windows i18n facility.

Jacob Hallén

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Trouble with internationalized path under windows Jacob Hallén <jacob.hallen@sotospeak.se> - 2012-01-22 22:39 +0100

csiph-web