improve compatibility with UTF, use generic C instead of es_ES