mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
The problem is ``sys.stdout.encoding``. On Unix Python uses ``LC_`` which is UTF-8 since late 2000s. But on Windows for non-console based executions (with stdout redirected) it uses one byte encoding (aka non-unicode programs charset) due to backward compatibility with 9x/me. With one-byte charset you can't have both latin-1 and cyrillic characters. To fix that, we provide ``PYTHONIOENCODING`` which sets charset explicitly GitOrigin-RevId: 5c3304e002d80fb5780f11f05fe5f4d1b6aef3ad