(Merge 3.2) Issue #13913: normalize utf-8 codec name in UTF-8 decoder

This commit is contained in:
Victor Stinner 2012-02-14 01:18:10 +01:00
commit c3a6b02d70
1 changed files with 1 additions and 1 deletions

View File

@ -4794,7 +4794,7 @@ decode_utf8_errors(const char *starts,
utf8Error:
if (unicode_decode_call_errorhandler(
errors, &errorHandler,
"utf8", errmsg,
"utf-8", errmsg,
&starts, &e, &startinpos, &endinpos, &exc, &s,
&unicode, &i))
goto onError;