Pidgeot / python-lnp

Cross-platform re-implementation of the Lazy Newb Pack launcher.
ISC License
65 stars 10 forks source link

Replace open with codecs.open #109

Closed Pidgeot closed 4 years ago

Pidgeot commented 4 years ago

To ensure no encoding errors happen with e.g. Python 3, replace all instances of open with codecs.open.

For DF files, use latin1; for everything else, UTF-8.

[Issue created by Pidgeot: 2014-10-15] [Last updated on bitbucket: 2014-10-16]

[Comment created by Pidgeot: 2014-10-16] Explicit encoding on everything (fixes #32)

→ <<cset 3f21d53ac161>>