Skip to content

Commit

Permalink
Merge pull request #298 from slarosa/master
Browse files Browse the repository at this point in the history
Enable non-ascii chars in Python Console
  • Loading branch information
brushtyler committed Oct 22, 2012
2 parents a45b759 + a29ccbf commit 2296b5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/console_sci.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def __init__(self, parent=None):
super(PythonEdit,self).__init__(parent)
code.InteractiveInterpreter.__init__(self, locals=None)

# Enable non-ascii chars for editor
self.setUtf8(True)

self.new_input_line = True

self.setMarginWidth(0, 0)
Expand Down

0 comments on commit 2296b5d

Please sign in to comment.