Thanks hippo
That is very much explaining, so in my case when I want to define unsafe characters I have to use a similar methode.
my $UnsafeChar = 'οι'; print encode_entities(decode ('utf-8', $TestStr), decode ('utf-8', $Un +safeChar)) . "\n";
In reply to Re^2: Encode string to HTML
by gepebril69
in thread Encode string to HTML
by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |