fix non-ascii characters