Thread LWP::UserAgent UTF-8-Mangling die 2991992ste (24 answers)
Opened by Your_name at 2018-10-23 14:29

rosti
 2023-05-16 11:07
#194893 #194893
User since
2011-03-19
3218 Artikel
BenutzerIn
[Homepage]
user image
Ach Übrigens:

Code (perl): (dl )
1
2
3
use strict;
use warnings;
print "Blahhhh, blah', blaaaÄÖÜäöüß!\n";


Macht dasselbe wie

Code (perl): (dl )
1
2
3
4
5
use strict;
use warnings;
use utf8;
binmode(STDOUT,':utf8');
print "Blahhhh, blah', blaaaÄÖÜäöüß!\n";


Und genauso wie STDOUT nur Bytesequenzen haben will bekommst Du über HTTP eben auch nur Bytesquenzen weil die aus STDIN gelesen werden. MFG

View full thread LWP::UserAgent UTF-8-Mangling die 2991992ste