logoalt Hacker News

ChrisSDtoday at 12:01 AM1 replyview on HN

`char8_t` is probably one of the more baffling blunders of the standards committee.


Replies

jjmarrtoday at 12:50 AM

there is no guarantee `char` is 8 bits, nor that it represents text, or even a particular encoding.

If your codebase has those guarantees, go ahead and use it.

show 3 replies