Thread ucfirst in RegEx nutzen (12 answers)
Opened by Lebewesen at 2011-11-09 16:41

Lebewesen
 2011-11-09 20:00
#154080 #154080
User since
2011-09-09
62 Artikel
BenutzerIn

user image
Wenn man sich perdoc zu function open durchliest hat man bezüglich der Kodierung keine Probleme mehr…!

Quote
…You may (and usually should) use the three-argument form of open to specify I/O layers (sometimes referred to as "disciplines") to apply to the handle that affect how the input and output are processed (see open and PerlIO for more details). For example:

Code: (dl )
1
2
 open(my $fh, "<:encoding(UTF-8)", "filename")
|| die "can't open UTF-8 encoded filename: $!";


opens the UTF8-encoded file containing Unicode characters;…


Auf alle Fälle, vielen Dank für die Hilfe!

View full thread ucfirst in RegEx nutzen