in reply to MP3::Tag encoding problem
Also see perluniintro$ echo Wide character in print at ./do.pl line 78. |splain Wide character in print at ./do.pl line 78. (#1) (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 eas +iest way to quiet this warning is simply to add the :utf8 layer to the output, 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 perlfunc/binmode.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MP3::Tag encoding problem
by mfearby (Initiate) on Sep 21, 2008 at 09:27 UTC | |
by Anonymous Monk on Sep 22, 2008 at 01:19 UTC |