ExifTool Forum

ExifTool => Developers => Topic started by: evilaro on November 22, 2012, 05:14:23 AM

Title: Charset
Post by: evilaro on November 22, 2012, 05:14:23 AM
Hi:

Using this code,

'exiftool -p  "$filename, $keywords" "&MDIR" > R2.txt'

I get some simbols like copyright and the accents not properly

I have tried

'exiftool -p  "$filename, $keywords -charset cp1252" "&MDIR" > R2.txt'

'exiftool -p -charset cp1252 "$filename, $keywords" "&MDIR" > R2.txt'

or

'exiftool -p  "$filename, $keywords -charset UTF8" "&MDIR" > R2.txt'
'exiftool -p  -charset UTF8 "$filename, $keywords" "&MDIR" > R2.txt'

But no change.

What am I doing wrong?

Thanks
Emilio
Title: Re: Charset
Post by: Phil Harvey on November 22, 2012, 07:16:51 AM
Hi Emilio,

It could be that the IPTC is not properly encoded.  Did you read FAQ number 10 (https://exiftool.org/faq.html#Q10)?

- Phil