Small change to prevent crashes on accented characters.