Skip to content

Commit

Permalink
Add encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Allain18 authored Sep 2, 2024
1 parent 0fad4b3 commit ea91615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apio/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, outcallback=None):
self.outcallback = outcallback

self._fd_read, self._fd_write = os.pipe()
self._pipe_reader = os.fdopen(self._fd_read)
self._pipe_reader = os.fdopen(self._fd_read, encoding="UTF-8")
self._buffer = []

self.start()
Expand Down

0 comments on commit ea91615

Please sign in to comment.