in reply to Re^2: How to encode for non-unicode output
in thread How to encode for non-unicode output

decode("Guess", $text) worked. Since I did not specify the suspect, trial-error leads to UTF-8.

Since the un-encoded output looks fine as UTF-8, the original text is probably UTF-8 or ExifTool decoded it. But somehow perl does not know it when it tries to encode. Does the decode call just tell perl it's UTF-8?

  • Comment on Re^3: How to encode for non-unicode output

Replies are listed 'Best First'.
Re^4: How to encode for non-unicode output
by Anonymous Monk on Nov 05, 2008 at 15:07 UTC