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

esskar
 2005-07-21 19:28
#56544 #56544
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
hmm;

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
use HTML::Entities;
use Encode;
my $data = 'fÃ&¼r'; # so gemeint, wie's da steht
HTML::Entities::decode($data);
print $data, "\n";
Encode::from_to($data, "utf8", "iso-8859-1");
print $data, "\n";
HTML::Entities::encode($data);
print $data, "\n";
^Z
fÃ&╝r
f?r
f?r

View full thread Charsetproblem: utf8 zu HTML-Codierung