[Eric] Issue with non-english text in Django plugin

Игорь Митренко netwamp at gmail.com
Sun Jun 20 13:46:39 BST 2010


Works fine. Thank you.

> Hi,
>
> please change line 215 of LexerDjango.py from
>
> for token, txt in self.__lexer.get_tokens(unicode(self.editor.text())[:end +
> 1]:
>
> to
>
> for token, txt in self.__lexer.get_tokens(unicode(self.editor.text())[:end +
> 1].encode("utf-8")):
>
> Please report back.
>
> Detlev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100620/0388a662/attachment.html>


More information about the Eric mailing list