in reply to perl -COE and, for example, CGI::Application
The option to use UTF-8 for STDOUT breaks down when trying to output anything other than text: The 'U' is for Unicode, which implies text data.
Image files aren't text (as usual, there are some esoteric exceptions, but in general...) so putting them through a UTF-8 encoder is like running a gamma correction on a perl script.
In this case, I'd suggest that you have two reasonable options:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl -COE and, for example, CGI::Application
by isync (Hermit) on Sep 23, 2008 at 11:12 UTC |