foreach $val (keys %char2entity) { print "
$val => $char2entity{$val}\n"; } #### ...
@ => @ ...
. => . ##
## encode($string, \000-\377)