Repository navigation
Commit d352cb8
committed
fix: add encoding=utf-8 to subprocess.run in run_check_command
When text=True, subprocess.run uses the system default encoding (cp1252
on Windows) to encode stdin input. If commit messages contain Unicode
characters outside cp1252 (e.g. ❌), the encoding fails with
UnicodeEncodeError.
The other two subprocess.run calls already had encoding='utf-8'.1 parent 338036b commit d352cb8
1 file changed
Lines changed: 1 addition & 0 deletions
0 commit comments