Serhiy Storchaka added the comment: Example:
$ LC_ALL=ru_RU.cp1251 ./python -m venv ../vpy× $ LC_ALL=ru_RU.cp1251 ./python -m venv ../vpyØ Error: 'charmap' codec can't encode character '\udc98' in position 617: character maps to <undefined> The first command is successful, the latter command is failed. 'Ø'.encode('utf-8') == b'\xc3\x98', and 0x98 is invalid code in CP1251. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25185> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com