Posted on 2005-10-17 17:13:22-07 by exiftool in response to 1185
Re: Problem using WriteInfo
I don't understand how the "eval 'require Encode'" can be successful without Encode::_utf8_off() being available.

If it is calling _utf8_off(), then the Encode module must have been loaded, so you must have it. It doesn't make sense.

The following line WILL work instead, but is slower so I would rather not do this in the official version:

pack('C*', unpack('C*', $value));

So I'm at a bit of a loss trying to get something that works for everyone yet doesn't compromise performance.

Direct Responses: 1187 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.