Skip to content

Commit

Permalink
Ensure utf-8 encoding in watcher output.
Browse files Browse the repository at this point in the history
Fixes #191
  • Loading branch information
Mark Battersby committed Dec 8, 2014
1 parent 13ec98b commit b411ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoffeeScript.py
Expand Up @@ -543,7 +543,7 @@ def refresh(self):
if no_wrapper:
args = ['-b'] + args
res = brew(args, source=Text.get(self.inputView))
with open(self.outputFilePath, 'w') as f:
with open(self.outputFilePath, 'w', encoding='utf8') as f:
f.write(res["out"])

mapFile = path.join(self.outputTempDir, self.outputFileName.split(".")[0]+'.map')
Expand Down

0 comments on commit b411ee2

Please sign in to comment.