Skip to content

Comments

adding copyright sign tests#371

Merged
lemire merged 3 commits intomasterfrom
adding_copyright_sign_tests_utf8_to_utf16
Feb 16, 2024
Merged

adding copyright sign tests#371
lemire merged 3 commits intomasterfrom
adding_copyright_sign_tests_utf8_to_utf16

Conversation

@lemire
Copy link
Member

@lemire lemire commented Feb 16, 2024

The copyright sign (bytes 0xC2, 0xA9) in UTF-8 should transcode in UTF-16 to 0x00, 0xA9 or 0xA9, 0x00 depending on the endianness. In particular, the copyright sign (bytes 0xC2, 0xA9) should be detected as valid UTF-8.

@lemire lemire merged commit c83ccdd into master Feb 16, 2024
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