fix conversion of none ASCII chars