Trouble with internationalized path under windows

Chris Rebert clp2 at rebertia.com
Sun Jan 22 15:28:16 EST 2012


On Sun, Jan 22, 2012 at 12:08 PM, Jacob Hallén
<jacob.hallen at 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.

What's the ImportError message say? And what version of Python are you using?

Cheers,
Chris



More information about the Python-list mailing list