Commits

Dusty Phillips committed 44577c4

Encode text to UTF8 because the parser chokes

Comments (0)

Files changed (1)

         syntax, show a nice popup.'''
         if self.kv_container:
             try:
-                parser = Parser(content=self.language_box.text)
+                parser = Parser(content=self.language_box.text.encode('utf8'))
                 self.kv_container.clear_widgets()
                 widget = Factory.get(parser.root.name)()
                 Builder._apply_rule(widget, parser.root, parser.root)