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

UTF-8 #34

Closed
DBJDBJ opened this issue Nov 22, 2019 · 3 comments
Closed

UTF-8 #34

DBJDBJ opened this issue Nov 22, 2019 · 3 comments

Comments

@DBJDBJ
Copy link

DBJDBJ commented Nov 22, 2019

  • char8_t is C++20 keyword
  • json mandates utf-8
  • gason needs to work with char8_t *
  • is that even possible?
@ChrisJefferson
Copy link
Contributor

In practice (and even in standard), char8_t is the same as unsigned char, so at worst some casts might have to be added to turn char8_ts into unsigned chars

@DBJDBJ
Copy link
Author

DBJDBJ commented Nov 22, 2019

The design is sorted. Onto the implementation then?

@DBJDBJ
Copy link
Author

DBJDBJ commented Oct 21, 2021

20+ years of practice has made it rather simple: If it is in <uchar.h> use it, otherwise waste your time, if you have it ...

@DBJDBJ DBJDBJ closed this as completed Oct 21, 2021
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

No branches or pull requests

2 participants