Use UTF-8 filename with PyExiftool

Started by pprados, January 02, 2020, 10:37:11 AM

Previous topic - Next topic

pprados

Hello,
I use https://github.com/smarnach/pyexiftool (I can update it).
I have a bug with the filename use UTF-8 caractères. This Python wrapper, use a socket and stdin to communicate the commands.
How I can use the stdin with filename with unicode ?
Thanks

Phil Harvey

Did you try using the -charset filename=utf8 option?

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