[Python-Dev] Unicode strings as filenames

Mark Hammond mhammond@skippinet.com.au
Mon, 7 Jan 2002 13:50:10 +1100


> I have added some more cases to your example Martin, in Hebrew, Chinese
> and Japanese and a combination. The combination is an interesting
> case as it will not work with mbcs with a particular code page, as no
> code page (to my knowledge) contains all the characters.
>> This works using my modifications except for the calls to os.rename.

This looks interesting :) Any chance of putting all this together in a
patch at source-forge? Ultimately uni.py should be rolled into
test/test_unicode_filename.py, and it is unclear if
http://pythoncard.sourceforge.net/posixmodule.c is the latest with Martin's
comments - and it appears posix_open may leave 'fd' uninitialized before
comparing < 0.
Thanks,
Mark.

AltStyle によって変換されたページ (->オリジナル) /