Fix "ValueError: unknown locale: UTF-8" error