python-3
1 trace
- Python started by Task Scheduler/services on Chinese Windows crashes with UnicodeEncodeError (GBK): run `python -X utf8`A Python collector ran fine interactively on a Chinese-locale Windows PC but crashed when launched as a SYSTEM scheduled task or another background process. Fix: Force UTF-8 mode for every background launch: or set…