Kaydet (Commit) c3a6b02d authored tarafından Victor Stinner's avatar Victor Stinner

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

......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment