Re: Problems using UTF-8
- From: Calle Dybedahl <calle cyberpomo com>
- To: gtk-perl-list lists gnome org
- Subject: Re: Problems using UTF-8
- Date: Tue, 30 Dec 2003 11:21:10 +0100
"Gustavo" == Gustavo Noronha Silva <kov debian org> writes:
Shouldn't it have worked straight, as the script was written in utf-8?
No, at least not as of perl version 5.8.2. See this bit in the
documentation for the utf8 pragma:
The "use utf8" pragma tells the Perl parser to allow UTF-8 in
the program text in the current lexical scope
That is, perl does not make any attempt to autodetect if your source
code is written in UTF-8 or not.
Calle Dybedahl <calle lysator liu se>
"I'd definitely like to see more rubber-clad literature in future."
-- Penny Dreadful
] [Thread Prev