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 -- http://mail.python.org/mailman/listinfo/python-list