Thread Wide character in print (17 answers)
Opened by esskar at 2005-03-21 12:14

renee
 2005-03-21 13:09
#52819 #52819
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Aus perldoc perldiag:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
       Wide character in %s
(W utf8) Perl met a wide character (>255) when it
wasn't expecting one. This warning is by default on
for I/O (like print). The easiest way to quiet this
warning is simply to add the ":utf8" layer to the out-
put, e.g. "binmode STDOUT, ':utf8'". Another way to
turn off the warning is to add "no warnings 'utf8';"
but that is often closer to cheating. In general, you
are supposed to explicitly mark the filehandle with an
encoding, see open and "binmode" in perlfunc.
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Wide character in print