Skip to content

Conversation

vojtechtoman
Copy link

The Formatter::write_quoted method doesn't support Unicode code points beyond the BMP (0000-FFFF) correctly. As a result, these codepoints get mangled in the final result. For instance, the character 🤓 (U+1F913 or F0 9F A4 93 in UTF-8) gets written out as \u129299 ("ኒ99") which is incorrect. This PR attempts to fix support for the codepoints beyond BMP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant