[Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Oct 1 03:05:48 CEST 2008


James Y Knight wrote:

> Since from what I've tried, things seem to work, I'd really like to  
> know what precisely does fail from the opponents of utf-8b.

Seems like what will fail is taking one of these utf-8b
decoded names and passing it to some external library
that uses it as a filename without knowing that it has
to use utf-8b to encode it. Then the funny characters
won't be encoded the way they were originally, and it
won't compare equal to existing filenames that it should
be equal to.

-- 
Greg


More information about the Python-3000 mailing list