[Eric] [Eric4] Weird highlighting in Django templates with non-ASCII symbols

Detlev Offenbach detlev at die-offenbachs.de
Sun Oct 18 08:49:13 BST 2009


On Samstag, 17. Oktober 2009, Nickolaj Sjujsckij wrote:
>         Good day to all the maillisters.
> I'm working on simple Django project, and Django templates with non-ASCII
> symbols (cyrillic in my case) mess up syntax highlighting and are
> displayed weirdly (see att. screenshot and template file).
>       What could it be? I suggest there's something with pygments-based
> lexer.
> Thanks in advance.

The weird characters just mean, that QScintilla doesn't know how to display 
these characters. It is probably related to an unappropriate encoding used. 
Please try to change it via the context menu's encodings submenu. The current 
encoding is shown in the status bar.

>
> Gentoo Linux amd64, Eric 4.3.8, Qt 4.5.3, PyQt 4.5.4-r4, qscintilla 2.4,
> qscintilla-python 2.4, sip 4.8.2-r1


Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list