Thread Best practice UTF-8 Output (35 answers)
Opened by bianca at 2013-11-29 07:03

topeg
 2013-11-29 11:02
#172298 #172298
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
Ich benutze open(my $fh, '>:encoding(UTF-8)', $file) oder open(my $fh, '>:unix:encoding(UTF-8)', $file) wenn ich sicher gehen will das das Zeilenende immer stimmt.
:utf8 macht keine Warnungen, wenn die Kodierung nicht stimmt. (wenn ich mich richtig erinnere). Da das "perl-utf8" ist was auch "falsche" Bytes speichern kann.

View full thread Best practice UTF-8 Output