Unicode in Windows command line

Started by StarGeek, October 30, 2020, 05:05:33 PM

Previous topic - Next topic

StarGeek

While looking for something completely different, I came across this StackOverflow answer.  Following the first few instructions, for the first time I was able to use accented and other characters without problems.

I created a path with an accented character and Cyrillic characters and set description with Cyrillic characters.  It worked perfectly.
C:\>exiftool -P -overwrite_original -description="тестове" "Y:/!temp/ccccc/h/Côte d'Azur/тестове/Test4.jpg"
    1 image files updated

C:\>exiftool -g1 -a -s -description "Y:/!temp/ccccc/h/Côte d'Azur/тестове/Test4.jpg"
---- XMP-dc ----
Description                     : тестове


It might be Windows 10 only, though.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

This looks very promising.  I'll try to remember this, and add it to the faq if it proves useful.

- 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 ($).