Thread Charsetproblem: utf8 zu HTML-Codierung (28 answers)
Opened by Gast at 2005-07-20 23:46

GwenDragon
 2005-07-21 16:12
#56536 #56536
User since
2005-01-17
14837 Artikel
Admin1
[Homepage]
user image
#!/usr/bin/perl
use Encode ();
use HTML::Entites ();

my $data='fÃ&¼r'; # ist für in UTF8
Encode::from_to($data, "utf8", "iso-8859-1");

print HTML::Entites::encode_entities($data)

View full thread Charsetproblem: utf8 zu HTML-Codierung