Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JSON serialization for UTF-32 characters. #998

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 24, 2024

  1. Fix JSON serialization for UTF-32 characters.

    When serializing the data in JSON-compatible form, 4-byte UTF32 characters need to be split into two 2-byte code points..
    
    This change fixes that by introducing new emitter setting `UseUtf16SurrogatePairs`, which is set when JSON-compatible builder is requested.
    nahk-ivanov committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    6c26d5c View commit details
    Browse the repository at this point in the history
  2. Address comments

    nahk-ivanov committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7333635 View commit details
    Browse the repository at this point in the history