Thread Datei kein UTF8 (13 answers)
Opened by Froschpopo at 2006-06-11 08:41

FIFO
 2006-06-11 15:04
#67225 #67225
User since
2005-06-01
469 Artikel
BenutzerIn

user image
Alternative wäre:
Code: (dl )
open (my $handle, ':encoding(ascii)', $filename);


geht ab Perl 5.8, für 'ascii' ggf. andere Codierung einsetzen, z.B. 'iso-8859-1', 'cp437' usw.

intern arbeitet Perl sowieso mit utf8
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"

View full thread Datei kein UTF8