Comment

Comment by int_19h

It's kind of amazing that something as basic as character encodings - at least the basics like UTF-16 ↔ UTF-8 ↔ stdio-encoding! - is something that's still not in the C++ standard library. For a while there was codecvt_utf8 et al, but that was deprecated 5 years ago in C++17 with no replacement "to clear the path for the future" (https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p06...), yet no replacement came in C++20, and none are planned for C++23.
parent int_19h 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton