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

does Json sdk cares about dfc dfd utf8 issue? #1901

Closed
issaharnoam opened this issue Jan 13, 2020 · 7 comments
Closed

does Json sdk cares about dfc dfd utf8 issue? #1901

issaharnoam opened this issue Jan 13, 2020 · 7 comments

Comments

@issaharnoam
Copy link

used case:
json composed on windows by json parser and contains ü character
same json file parsed on mac

In mac there is DFD and in windows - DFC utf8 encoding for letters like ü etc..
Is json toolkit cares about it?
Thanks

@nlohmann
Copy link
Owner

This library supports UTF-8.

@nlohmann
Copy link
Owner

Do you need further assistance with this issue?

@dota17
Copy link
Contributor

dota17 commented Jan 16, 2020

DFD?DFC?
I think you mean NFC and NFC, right?
Related Link: https://en.wikipedia.org/wiki/Unicode_equivalence

I think this library doesn't care about it. It just give you what you give it, and how to display depends on you.

@nlohmann
Copy link
Owner

@issaharnoam Do you need further assistance?

@issaharnoam issaharnoam changed the title does Json sdk cares about nfc nfd utf8 issue? does Json sdk cares about dfc dfd utf8 issue? Jan 26, 2020
@issaharnoam
Copy link
Author

Thanks for quick response

@issaharnoam
Copy link
Author

UTF-8

@issaharnoam
Copy link
Author

@issaharnoam Do you need further assistance?

I wil try to encode ti DFD and parse and see the values. I am not sure about the behavior because I encoded the file on windows and parsed on Mac and I did not see windows utf8
I will doublecheck again....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants