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

Make JSON example parse from a UTF-8 encoded file #35

Merged
merged 4 commits into from
Jun 2, 2023
Merged

Conversation

cwbaker
Copy link
Owner

@cwbaker cwbaker commented May 29, 2023

No description provided.

This works for UTF-8 encoded strings but debugging will fail when using
UTF-16 or UTF-32 as the printf() formatted string won't deal with null
characters embedded within the wider character encodings.

Committing this for now because it doesn't break any existing
functionality but does enable parsing of wider character inputs.
@cwbaker cwbaker self-assigned this May 29, 2023
@cwbaker cwbaker force-pushed the utf8-example branch 3 times, most recently from 8e5edc4 to 7ee2e5e Compare June 2, 2023 23:41
@cwbaker cwbaker merged commit 6821f78 into main Jun 2, 2023
@cwbaker cwbaker deleted the utf8-example branch June 2, 2023 23:52
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