Ok, setlocale() returns NULL when it fails, so the proper fix will be a bit more involved because this code is trying to do several things: if either setting a locale fails, or setlocale function doesn't exist, it will use emulation. I'll work on a fix.
Ok, setlocale() returns NULL when it fails, so the proper fix will be a bit more involved because this code is trying to do several things: if either setting a locale fails, or setlocale function doesn't exist, it will use emulation. I'll work on a fix.