Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
If few people use file names not in their respective CP_ACP as you say, why did Microsoft bother to make Windows XP a unicode OS? It does not make any sense. The existence of such bugs is the source of the problem itself. It is because of this situation that people in non-English speaking

Re: sys.path and unicode folder names

2006-02-09 Thread Martin v. Löwis
Nir Aides wrote: If few people use file names not in their respective CP_ACP as you say, why did Microsoft bother to make Windows XP a unicode OS? Because it simplifies their implementation, in the long run. It is because of this situation that people in non-English speaking countries prefer

Re: sys.path and unicode folder names

2006-02-09 Thread Nir Aides
Martin v. Löwis wrote: Nir Aides wrote: If few people use file names not in their respective CP_ACP as you say, why did Microsoft bother to make Windows XP a unicode OS? Because it simplifies their implementation, in the long run. It is because of this situation that people in non-English

Re: sys.path and unicode folder names

2006-02-08 Thread Thomas Heller
Nir Aides wrote: Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able to import modules from a folder with a non-ascii name. Martin v. Löwis wrote: If the name is restricted to the CP_ACP code page (i.e. more than ASCII

Re: sys.path and unicode folder names

2006-02-08 Thread Martin v. Löwis
Nir Aides wrote: I can not restrict the name to CP_ACP. I am interested in the general case of Unicode. So you should implement a patch, and contribute this to sf.net/projects/python. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: sys.path and unicode folder names

2006-02-08 Thread Nir Aides
Actually, I already managed to make a Patch for this problem. I will post it soon on my website and in this group. But I find it strange that this problem even exists, and that I could not find any workarounds on the Internet. Nir Martin v. Löwis wrote: Nir Aides wrote: I can not restrict

Re: sys.path and unicode folder names

2006-02-08 Thread Martin v. Löwis
Nir Aides wrote: Actually, I already managed to make a Patch for this problem. I will post it soon on my website and in this group. But I find it strange that this problem even exists, and that I could not find any workarounds on the Internet. Very few people use file names not in their

sys.path and unicode folder names

2006-02-07 Thread Nir Aides
Hello, Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able to import modules from a folder with a non-ascii name. Thanks, Nir -- http://mail.python.org/mailman/listinfo/python-list

Re: sys.path and unicode folder names

2006-02-07 Thread Martin v. Löwis
Nir Aides wrote: Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able to import modules from a folder with a non-ascii name. If the name is restricted to the CP_ACP code page (i.e. more than ASCII, less then full Unicode

Re: sys.path and unicode folder names

2006-02-07 Thread Nir Aides
I can not restrict the name to CP_ACP. I am interested in the general case of Unicode. Windows XP is a native Unicode OS. Martin v. Löwis wrote: Nir Aides wrote: Is there a solution or a work around for the sys.path problem with unicode folder names on Windows XP? I need to be able