| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Backport to 3.15 and 3.14.
|
Thanks @jelle-openai for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
GH-160094 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-160095 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Preserve non-BMP characters in multibyte encoders. Some Big5-HKSCS and JIS X 0213 encoders look up a two-character mapping after narrowing or masking the second code point to 16 bits. A non-BMP character whose low bits match a valid combining character can be silently consumed as that character, changing the text on encode/decode instead of raising UnicodeEncodeError with the default error handler.
Backport to 3.15 and 3.14.