try/except locale setting (for windows :P)