Skip to content

Does simdjson parse escaped invalid UTF-8 bytes? #2125

Closed Answered by lemire
DUOLabs333 asked this question in Q&A
Discussion options

You must be logged in to vote

@jkeiserWe validate Unicode characters during decoding because we guarantee an UTF-8 output.

@DUOLabs333 You can put base64 data in a string, it is a safe solution. It will probably result in a smaller payload and faster decoding.

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
8 replies
@DUOLabs333
Comment options

@jkeiser
Comment options

@DUOLabs333
Comment options

@lemire
Comment options

Answer selected by DUOLabs333
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jkeiser
Comment options

@DUOLabs333
Comment options

@jkeiser
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants