recode to ANSI