Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That last link was enjoyable. The best way I know of to amputate locales is to use dlsym() to look up setlocale() and replace it with your own setlocale that calls the real setlocale with arguments LC_ALL, "C", regardless of what arguments are passed in.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: