Yearly archives: 2019

24 posts

C++ Convert any character sequence to any standard string

Four standard char types can be transformed to each other
Four standard char types can be transformed into each other Best avoid char8_t

[Update 2021-09-05] Here is the link to the why’s and how’s of Unicode, with focus on Windows code. At last managed to find time.

[Update 2021-03-18] Code in here is updated and there is a link to the Godbolt working version too.

(Note: this is the second part of C++ : codecvt deprecated. Panic? ) Continue reading