Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use locale.getpreferredencoding(False) instead of explicit 'utf-8'
This fixes Python 3.6 with LC_ALL=C. For Python 3.7+ we always get 'utf-8': https://docs.python.org/3/library/os.html#utf8-mode
- Loading branch information