Set locale correctly for utf8