[Python-Dev] PEP 277 (unicode filenames): please review
Brian Quinlan
brian@sweetapp.com
Tue, 13 Aug 2002 09:20:06 -0700
Guido van Rossum wrote:
> But if you pass the normalized string (or the Latin-1 string) to
> open(), will it find the file?
I tried opening a file using both "o\xcc\x88" and "\xc3\xb6". Both
result in the same file being opened.
> I.e. if the filesystem has the
> unnormalized name stored in its directory, will filesystem requests
> normalize filenames before comparing them?
It could be that Apple is decomposing the filenames before comparing
them. Either way works.
Cheers,
Brian