在 2019/12/22 19:40, sotrdg sotrdg 写道: > C++ 20 has this char8_t and u8string which is guarantee to be a utf-8 character string. Is it safe to just reinterpret cast char8_t const* pointer to char const*?? Clearly it is not a strict aliasing rule violation. However I am not sure whether I would get screwed by the C locale system. > > > POSIX does not allow EBCDIC [1]. [1] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/V1_chap06.html -- Best regards, LH_Mouse
Attachment:
signature.asc
Description: OpenPGP digital signature