Fixing Python UnicodeDecodeError in Logging Handlers - How to Handle UnicodeDecodeError in Python-Fix Git SSL Certificate Error: Unable to Get Local Issuer Certificate

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.