Thread Excel Datei einlesen und schreiben mit Umlauten (8 answers)
Opened by Jürgen at 2013-10-21 17:52

Linuxer
 2013-10-22 13:39
#171400 #171400
User since
2006-01-27
3870 Artikel
HausmeisterIn

user image
Quote
Noch eins:
für was benutze ich denn dann im Script das:
use utf8;
?


Das ist in der perldoc Perldoc:utf8 beschrieben:

perldoc utf8
DESCRIPTION

The use utf8 pragma tells the Perl parser to allow UTF-8 in the program text in the current lexical scope (allow UTF-EBCDIC on EBCDIC based platforms). The no utf8 pragma tells Perl to switch back to treating the source text as literal bytes in the current lexical scope.

Do not use this pragma for anything else than telling Perl that your script is written in UTF-8. The utility functions described below are directly usable without use utf8; .


Also, use utf8; verwendet man NUR dann, wenn der Perl-Programmcode utf8-kodiert ist.
Last edited: 2013-10-22 13:47:22 +0200 (CEST)
meine Beiträge: I.d.R. alle Angaben ohne Gewähr und auf Linux abgestimmt!
Die Sprache heisst Perl, nicht PERL. - Bitte Crossposts als solche kenntlich machen!

View full thread Excel Datei einlesen und schreiben mit Umlauten