set locale to fr_FR to avoid encode error