Comment

Comment by formerly_proven

C/C++ locales are a trashfire. The path to enlightenment is to not use them and discard all libraries which think they can get away with calling setlocale (which a few do, but is more or less a given when we're talking about GUIs).

> obviously you should not use sprintf, you should use C++ iostreams

Friends don't let friends use iostreams.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton