Closed sk- closed 6 years ago
By default open will use a decoder that's platform dependent. See https://docs.python.org/3.6/library/functions.html#open
Instead we need to explicitly provide the file's encoding. For which we need to use the function from io, so that it can also be used in python 2.7.
Fixes #107.
By default open will use a decoder that's platform dependent. See https://docs.python.org/3.6/library/functions.html#open
Instead we need to explicitly provide the file's encoding. For which we need to use the function from io, so that it can also be used in python 2.7.
Fixes #107.