News for hackers. Stuff that matters.
Re:Curious lack of sprintf scaling by smcameron on Saturday February 26, 2022 @01:45AM (#30475655)
Well, you can replace setlocale() with your own setlocale that uses dlsym() to look up the "real" set locale, and your setlocale can just call the real setlocale with params (LC_ALL, "C").

That turns it off pretty well. Even if other libs call setlocale (looking at you, gtk), they'll get your version.

like so: https://github.com/smcameron/space-nerds-in-space/blob/maste...

There are no comments on this comment yet.