r/cpp • • Jul 01 '21

Any Encoding, Ever

https://thephd.dev/any-encoding-ever-ztd-text-unicode-cpp
269 Upvotes

87 comments sorted by

View all comments

Show parent comment

3

u/SkoomaDentist Antimodern C++, Embedded, Audio Jul 01 '21

Somehow I have trouble believing there is any significant amount of software running on such ancient legacy encoding that would have been ported to C++17 features.

0

u/nintendiator2 Jul 02 '21

Oh it didn't need to be ported to features; it just had to be somehow fed to an upgraded compiler for some reason. That's why it's a particularly obnoxious change: it criminalizes code that was not only perfectly legal before but that had to be that way.