sax barfs on unicode filenames
Fredrik Lundh
fredrik at pythonware.com
Wed Oct 4 16:46:46 EDT 2006
Martin v. Löwis wrote:
> Yes. While you can pass Unicode strings as file names to many Python
> functions, you can't pass them to Expat, as Expat requires the file name
> as a byte string. Hence the error.
sounds like a bug in the xml.sax layer, really (ET also uses Expat, and
doesn't seem to have any problems dealing with unicode filenames...)
</F>
More information about the Python-list
mailing list