Regression bug 9.80 vs 9.78 ?

Started by artofit, January 12, 2015, 08:07:26 AM

Previous topic - Next topic

artofit

Take some jpg with non English char, for example test files named:
müsli.jpg
d'hier et d'aujourd'hui.jpg

Run the command:
exiftool -P -r "-Comment<REGRESSION-${filename} BUG?"  -ext .jpg "F:\\test\\"

When done with 9.78, than XnView - or other apps - shows correct exif comment,
however with 9.80 it transforms any non English to jebberish (suppose wrong encoding set)

Also, note that for both version, the following is OK:
exiftool -P -r "-Comment<REGRESSION-${filename} BUG?"  *.jpg

Replacing Comment tag with IPTC:Caption-Abstract, I see the issue with both versions.

Thanks.

Phil Harvey

This is not a bug (hopefully), it is by design.  With version 9.79, special characters in Windows file names should (finally) be handled properly.  Older versions just passed filenames straight through without regard to the character encoding.  With 9.79 and later, the encoding of FileName and Directory values is controlled by the -charset option.  Try adding -L (equivalent to -charset latin) to your command if you want to use Windows Latin1 encoding for FileName.

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