Help for this page
use HTML::Entities qw(encode_entities_numeric); my $str = "some special chars like € ™ © ®"; ... Output: € ™ © ®