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

Byte literal decoding of invalid UTF-8 results in incorrect value. #111

Open
TristonianJones opened this issue Mar 31, 2021 · 0 comments
Open

Comments

@TristonianJones
Copy link
Collaborator

This could be an issue with the C++ parser or the conformance harness, but the following byte literal with invalid UTF-8 characters evaluates incorrectly: b'\\000\\xff' yields bytes_value:"\xff" when the desired output is bytes_value:"\x00\xff"

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

No branches or pull requests

1 participant