P3876R1 — Extending <charconv> support to more character types
Jan Schultke, Peter Bindels
SG16
Revisions R2May 2026R1Feb 2026
Support for `char8_t` and other Unicode character types in `std::to_chars` and `std::from_chars` is clearly useful. File formats such as JSON require the use of Unicode character encodings, so an application that deals with JSON may want to use `char8_t` in its APIs and internally. However, when attempting to use `char8_t` for this purpose, one quickly runs into problems: