Looks like pygit2 0.27.3 solves this as part of the fix for Colin's https://github.com/libgit2/pygit2/issues/839. We're currently running 0.27.2.
https://github.com/libgit2/pygit2/commit/ccbb82e6dfaf3d26479986e4a1f36ee48dc40b84 removes the explicit strict error handling from signatures and commit messages. That returns to the default behaviour where if no encoding is specified in the commit it will assume UTF-8 but with errors="replace".
Looks like pygit2 0.27.3 solves this as part of the fix for Colin's https:/ /github. com/libgit2/ pygit2/ issues/ 839. We're currently running 0.27.2.
https:/ /github. com/libgit2/ pygit2/ commit/ ccbb82e6dfaf3d2 6479986e4a1f36e e48dc40b84 removes the explicit strict error handling from signatures and commit messages. That returns to the default behaviour where if no encoding is specified in the commit it will assume UTF-8 but with errors="replace".