Hi,
On Mon, Nov 06, 2017 at 02:28:33PM +0000, Nico Schlömer wrote:
> Digging further, I found that the error can be fixed with
> ```
> io.open(self.filename, mode='r', encoding='utf-8')
> ```
> in `_read`, just as described in [1]. Note that
> ```
> self._contents.encode()
> ```
> needs to become
> ```
> self._contents.encode('utf-8')
> ```
> then, too.

Thanks for looking deeper but please lets first try to understand where
the bug comes from before tryng to apply 'fixes" from
stackoverflow. Which locale are you running inder?

Cheers,
 -- Guido

Reply via email to