Hacker News new | ask | show | jobs
by kazinator 519 days ago
thread-local locale you can easily save and restore would work. In other words, dynamically scoped.

But you don't want to be processing data in locale dependent-ways using the crap available in ISO C.