in reply to Strange interaction between command line and encoding
That seems to indicate that the problem is that STDOUT is just a string rather than the actual filehandle when it's passed into encoding::import via the -M command line parameter.use encoding (split(/,/, 'utf16,STDOUT,utf8', 0));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Strange interaction between command line and encoding
by VSarkiss (Monsignor) on Jun 02, 2006 at 20:48 UTC | |
Re^2: Strange interaction between command line and encoding
by ikegami (Patriarch) on Jun 02, 2006 at 20:34 UTC |