Hello Monks,
I am using HTML::Entities module to encode some special chars. Here is my code:
As output is in hex num of the char. I want output in form of HTML numeric decimal value of the chars like € ™ © ®use HTML::Entities qw(encode_entities_numeric); my $str = "some special chars like € ™ © ®"; encode_entities_numeric($str); print $str; Output: € ™ © ®
Is there a way to do this in encode_entities_numeric()
Thanks!
In reply to Covert to decimal HTML code in encode_entities_numeric by ppant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |