[Python-Dev] UnicodeDecodeError bug in distutils
ben+python at benfinney.id.au
Fri Apr 3 02:25:57 CEST 2009
"Phillip J. Eby" <pje at telecommunity.com> writes:
> However, there's currently no standard, as far as I know, for what
> encoding the PKG-INFO file should use.
Who would define such a standard? My vote goes for “default is UTF-8”.
> Meanwhile, the 'register' command accepts Unicode, but is broken in
> handling it. […]
> Unfortunately, this isn't fixable until there's a new 2.5.x release.
> For previous Python versions, both register and write_pkg_info()
> accepted 8-bit strings and passed them on as-is, so the only
> workaround for this issue at the moment is to revert to Python 2.4
> or less.
What is the prognosis on this issue? It's still hitting me in Python
\ “Everything you read in newspapers is absolutely true, except |
`\ for that rare story of which you happen to have first-hand |
_o__) knowledge.” —Erwin Knoll |
More information about the Python-Dev