mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Bug #1448490: Fix a bug that ISO-2022 codecs could not handle
SS2 (single-shift 2) escape sequences correctly.
This commit is contained in:
parent
6058aa40d2
commit
abb903fd54
3 changed files with 11 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ iso2022processg2(const void *config, MultibyteCodec_State *state,
|
|||
(*inbuf) += 3;
|
||||
*inleft -= 3;
|
||||
(*outbuf) += 1;
|
||||
*outbuf -= 1;
|
||||
*outleft -= 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue