Keep accent characters, handle hints as unicode, then convert to ascii/utf-8

fix #142