clean up non-ascii/wide characters