[issue25937] DIfference between utf8 and utf-8 when i define python source code encoding.

STINNER Victor report at bugs.python.org
Sat Dec 26 16:46:17 EST 2015


STINNER Victor added the comment:

In Python, there are multiple implementations of the utf-8 codec with many
shortcuts. I'm not surprised to see bugs depending on the exact syntax of
the utf-8 codec name. Maybe we need to share even more code to normalize
and compare codec names. (I think that py3 is better than py2 on this part.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25937>
_______________________________________


More information about the Python-bugs-list mailing list