remove non-ansi character