non-latin (rissian) characters are not written to keywords in UTF8

Started by balashi, August 07, 2010, 02:28:38 PM

Previous topic - Next topic

balashi

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

Phil Harvey

The problem is that you are trying to write Latin-encoded IPTC.  Read FAQ 10 for details.  Basically you should write -iptc:codedcharacterset=utf8 before writing any IPTC to first set the IPTC to UTF-8.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).