Fix chars for non-ASCII strings