sys.path and unicode folder names

Nir Aides nir at digitalpeers.com
Wed Feb 8 02:46:43 EST 2006


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 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), using the "mbcs" encoding should work fine.
> 
> Regards,
> Martin



More information about the Python-list mailing list