Skip to content

Commit

Permalink
another attempt at fixing windows encodings #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschaefer committed Mar 1, 2023
1 parent 1d3c74a commit 23d3dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gf_kernel/GFRepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def __init__(self):
self.to_clean_up = ['.dot', '.png', '.gfo']

self.pipe = os.pipe()
self.gf_shell = Popen((find_executable('gf'), '--run'),
self.gf_shell = Popen((find_executable('gf'), '--run', '--coding=utf8'),
stdin=PIPE,
stderr=self.pipe[1],
stdout=self.pipe[1],
text=True,
encoding='utf-8')
self.commandcounter = 0
self.infile = os.fdopen(self.pipe[0])
self.infile = os.fdopen(self.pipe[0], encoding='utf-8')

# catch any initial messages
sep = self.write_separator()
Expand Down

0 comments on commit 23d3dac

Please sign in to comment.