https://github.com/fmtlib/fmt provides a mature, well tested, and extremely fast implementation that would avoid potential format conversion problems.