Thread utf8 encoding mit Encode (3 answers)
Opened by Gast at 2007-03-15 01:34

Franz
 2007-03-16 12:28
#75058 #75058
User since
2006-07-12
31 Artikel
BenutzerIn
[default_avatar]
so geht's

Code: (dl )
1
2
3
4
5
6
7
8
9
binmode(STDOUT, ":encoding(cp437)");

use URI::Escape;
use Encode;

$str="%C3%B6";
$oct = uri_unescape($str);
$string = decode("utf-8", $oct);
print $string;
\n\n

<!--EDIT|Franz|1174051515-->

View full thread utf8 encoding mit Encode