fix listchars using utf8 characters