Hi there !
I know that this thread has been discussed several times, but I did not manage to find a solution that work for my case.
So here is the thing :
I am trying to edit jpgs from a csv file that contains many Spanish characters like ñ, ó, ...
But it comes out with errors, like ViÒales instead of Viñales.
I tried to add these charset in the command from the exiftool faq
UTF8
Latin
Latin2
DOSLatinUS
DOSLatin1
MacLatin2
-L
Here is the command :
exiftool -sep "," -csv="/Users/tristanquevilly/output.csv" "/Users/tristanquevilly/Exiftool/" -overwrite_original -m -charset exif=UTF8
But still they come out with errors as you can see in the attached image.
Any help you be more than welcomed.
Try adding -iptc:codedCharacterSet=utf8 to the command when you write the data. The data you list in that image is IPTC data and -charset exif=UTF8 will not affect IPTC data.
Also, what OS are you using?
Quote from: StarGeek on August 28, 2021, 02:42:56 PM
Try adding -iptc:codedCharacterSet=utf8 to the command when you write the data. The data you list in that image is IPTC data and -charset exif=UTF8 will not affect IPTC data.
Also, what OS are you using?
Hi StarGeek
Thanks a lot for your prompt answer ! And you solved my issue in one interaction !!! I works like a charm now :D
- By the way I pasted a wrong command in my initial message, indeed, the correct data was "-charset iptc=CHARSET" and not "-charset exif=CHARSET"
- I am using OSX High Sierra
So for whoever interest here is my final code :
exiftool -sep "," -csv="/Users/tristanquevilly/output.csv" "/Users/tristanquevilly/Exiftool/" -overwrite_original -m -iptc:codedCharacterSet=utf8
1000 thanks again and have a great day !!