[Python-Dev] international python (original) (raw)
Neil Hodgson nyamatongwe at gmail.com
Fri Sep 9 15:09:13 CEST 2005
- Previous message: [Python-Dev] international python
- Next message: [Python-Dev] international python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou:
As for seamless unicode support, there are also problems sometimes with filenames and filepaths: see e.g. https://sourceforge.net/tracker/?func=detail&aid=1283895&groupid=5470&atid=105470
This bug report is using byte string arguments causing byte string processing rather than unicode calls with unicode processing. Windows code that may encounter file paths outside the default locale should stick to unicode for paths. Try converting os.curdir to unicode before calling other functions:
os.path.abspath(unicode(os.curdir))
Neil
- Previous message: [Python-Dev] international python
- Next message: [Python-Dev] international python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]