use POSIX qw(locale_h); setlocale(LC_CTYPE, "fr_FR.ISO8859-15");