Leser: 2
|< 1 2 >| | 13 Einträge, 2 Seiten |
Encode::encode("utf-8", "\x{XXXX}")
1 2 3 4 5 6
use Encode; my $foo = Encode::encode( "UTF-8", "\x{306E}" ); print unpack( "H*", $foo ) . "\n"; Encode::from_to( $foo, "UTF-8", "UCS-2BE" ); print unpack( "H*", $foo ) . "\n";
1 2 3 4 5 6
use encode; print "hallo\n"; $i = hex(223); $foo = Encode::encode( "UTF-8", "\x{$i}" ); print unpack( "H*", $foo ) . "\n";
|< 1 2 >| | 13 Einträge, 2 Seiten |