in reply to Re^2: tr{}{} doesn't wanna work.. what am I doing wrong?
in thread tr{}{} doesn't wanna work.. what am I doing wrong?

Check the encoding of your input data. Decode all data (to unicode) before operating on it in any way.

  • Comment on Re^3: tr{}{} doesn't wanna work.. what am I doing wrong?

Replies are listed 'Best First'.
Re^4: tr{}{} doesn't wanna work.. what am I doing wrong?
by ultranerds (Hermit) on Feb 24, 2012 at 14:48 UTC
    Thanks, that did the trick :) I needed to convert $filename:

    utf8::decode($filename);

    Working like a charm now - thanks! :)