A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-June/066103.html below:

[Python-Dev] unicode imports

[Python-Dev] unicode imports [Python-Dev] unicode importsKristján V. Jónsson kristjan at ccpgames.com
Fri Jun 16 15:44:09 CEST 2006
Greetings!
 
Although python has had full unicode support for filenames for a long time on selected platforms (e.g. Windows), there is one glaring deficiency:  It cannot import from paths containing unicode.  I´ve tried creating folders with chinese characters and adding them to path, to no avail.
The standard install path in chinese distributions can be with a non-ANSI path, and installing an embedded python application there will break it.  At the moment this is hindering the installation of EVE on Chinese internet-cafés.
 
A cursory glance at import.c shows that the import mechanism is fairly complicated, and riddled with "char *path" thingies, and manual string arithmetic.  Do you have any suggestions on a clean way to unicodify the import mechanism?
 
A completely parallel implementation on the sys.path[i] level?
 
Are there other platforms beside Windows that would profit from this?
 
Cheers,
 
Kristján
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060616/a0bf0f77/attachment.html 
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4