4
Contributors
3
Replies
34
Views
1 Year
Discussion Span
Last Post by vegaseat
Featured Replies
  • 1

    > By default open() uses the ASCII encoding According to the documentation, the default encoding is `locale.getpreferredencoding()`. For me it is >>> import locale >>> locale.getpreferredencoding() 'UTF-8' You can try to guess your file's encoding with the [chardet](https://pypi.python.org/pypi/chardet) module/cli utility. Read More

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.