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

Fix Name creation from JSON with UTF-8 values #92

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

microshine
Copy link
Contributor

This pull request addresses an issue with creating a Name object from JSON when the values contain UTF-8 characters. The fix involves changing the encoding from PrintableString to UTF8String to ensure proper handling of these characters. Previously, the use of PrintableString led to incorrect data formatting.

Additionally, the Name class has been refactored to improve code readability and maintainability.

- Used PrintableString instead of UTF8String for proper encoding
- Refactor Name class to improve code readability and maintainability
@microshine microshine merged commit 93040a7 into master Oct 1, 2024
10 checks passed
@microshine microshine deleted the fix-name-creation branch October 1, 2024 22: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