Fix: Errors when using non-standard locale