added toCharCode.pl