mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Issue #13916: Fix surrogatepass error handler on Windows
This commit is contained in:
@@ -960,6 +960,10 @@ get_standard_encoding(const char *encoding, int *bytelength)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strcmp(encoding, "CP_UTF8") == 0) {
|
||||
*bytelength = 3;
|
||||
return ENC_UTF8;
|
||||
}
|
||||
return ENC_UNKNOWN;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user