Non-unicode file names

Marko Rauhamaa marko at pacujo.net
Thu Aug 9 02:06:04 EDT 2018


INADA Naoki <songofacandy at gmail.com>:

> For Python 3.6, I think best way to allow arbitrary bytes on stdout is
> using `PYTHONIOENCODING=utf-8:surrogateescape` environment variable.

Good info!


Marko



More information about the Python-list mailing list