Skip to content

Fix/issue 1972#2040

Open
doitgo wants to merge 4 commits into
microsoft:mainfrom
doitgo:fix/issue-1972
Open

Fix/issue 1972#2040
doitgo wants to merge 4 commits into
microsoft:mainfrom
doitgo:fix/issue-1972

Conversation

@doitgo
Copy link
Copy Markdown

@doitgo doitgo commented Jun 1, 2026

Fixes #1972

doitgo and others added 4 commits May 31, 2026 22:14
When main_title is None, the converter previously rendered "# None"
as the markdown heading. Now it only adds the title prefix when
main_title is truthy.

Fixes microsoft#1968

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
locale.getpreferredencoding() returns cp936/GBK on Chinese Windows,
which causes UnicodeDecodeError when parsing JSON output from exiftool.
Using utf-8 directly fixes this.

Fixes microsoft#1972

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: exiftool JSON output decoded with locale encoding instead of UTF-8

1 participant