ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: balashi on August 07, 2010, 02:28:38 PM

Title: non-latin (rissian) characters are not written to keywords in UTF8
Post by: balashi on August 07, 2010, 02:28:38 PM
Hello!

while trying to add russian keyword to NEF file I got warning like:

exiftool -keywords="хорватия" ./DSC_0020.NEF
Warning: Some character(s) could not be encoded in Latin - ./DSC_0020.NEF
   1 image files updated

exiftool -keywords ./DSC_0020.NEF
Keywords                        : ????????

even if I add option "-charset UTF8" it doesn't change anything... My locale in gnome-terminal is utf8, so I can't understand what I do wrong.

br, Nikolay
Title: Re: non-latin (rissian) characters are not written to keywords in UTF8
Post by: Phil Harvey on August 07, 2010, 05:15:20 PM
The problem is that you are trying to write Latin-encoded IPTC.  Read FAQ 10 (https://exiftool.org/faq.html#Q10) for details.  Basically you should write -iptc:codedcharacterset=utf8 before writing any IPTC to first set the IPTC to UTF-8.

- Phil