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

json: enabled lenient UTF encoding #1735

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

brharrington
Copy link
Contributor

When using smile enable lenient UTF encoding. In some cases log strings can have invalid UTF characters that work for encoding as JSON, but fail surrogate checks with smile. The lenient encoding allows these to go through, but replaces the invalid characters with \uFFFD.

When using smile enable lenient UTF encoding. In some cases
log strings can have invalid UTF characters that work for
encoding as JSON, but fail surrogate checks with smile. The
lenient encoding allows these to go through, but replaces
the invalid characters with `\uFFFD`.
@brharrington brharrington added this to the 1.8.0 milestone Dec 9, 2024
@brharrington brharrington merged commit 7bfee25 into Netflix:main Dec 9, 2024
5 checks passed
@brharrington brharrington deleted the smile-lenient branch December 9, 2024 12:41
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