PyExifTool (active PyPI project) - A Python library to communicate with an instance of Phil Harvey's ExifTool command-line application. Runs one process with special -stay_open flag, and pipes data to/from. Much more efficient than running a subprocess for each command!
The documentation of propertyexiftool.ExifTool.encoding tells:
Default to
UTF-8
if nothing is returned ...But the code of the @encoding.setter is:
ENCODING_UTF8: str = "utf-8"
... and ...self._encoding = new_encoding or (locale.getpreferredencoding(do_setlocale=False) or ENCODING_UTF8)
Therefore the documentation should tell:
Defaults to
utf-8
if nothing is returned ...... else debugging people like me may be wondering why the self._encoding value is not 'UTF-8'.