From 0294842bfe9d7c02017ab1c27a08a039ba9f5669 Mon Sep 17 00:00:00 2001 From: SylikC Date: Wed, 2 Nov 2022 16:42:43 -0700 Subject: [PATCH] fix documentation about "utf-8" reported in issue #58 --- exiftool/exiftool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exiftool/exiftool.py b/exiftool/exiftool.py index 2f9659e..54e1f7f 100644 --- a/exiftool/exiftool.py +++ b/exiftool/exiftool.py @@ -370,7 +370,7 @@ def encoding(self) -> Optional[str]: :setter: Set a new encoding. * If *new_encoding* is None, will detect it from ``locale.getpreferredencoding(do_setlocale=False)`` (do_setlocale is set to False as not to affect the caller). - * Default to ``UTF-8`` if nothing is returned by ``getpreferredencoding`` + * Default to ``utf-8`` if nothing is returned by ``getpreferredencoding`` .. warning:: Property setter does NOT validate the encoding for validity. It is passed verbatim into subprocess.Popen()