[PyKDE] Re: [Patch] QScintilla , UTF-8, eric

Martin v. Löwis martin at v.loewis.de
Thu Dec 19 15:26:00 GMT 2002


Serge <sergeyssv at mail.ru> writes:

> 1. Code window in eric does not accept cyrillic characters
> 2. It also does not display properly cyrillic UTF-8 characters

Please try the attached patch. It implements PEP 263 for Eric3,
putting the QScintilla widget into UTF-8 mode.

Notice that you will need to add an encoding declaration to your
files, e.g.

# -*- coding: utf-8 -*-

or

# -*- coding: koi8-r -*-

depending on what encoding you use in your files; if you have an UTF-8
BOM in the file, no further declaration is necessary.

Regards,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pep263.diff
Type: text/x-patch
Size: 3112 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20021219/ff7516b2/pep263.bin


More information about the PyQt mailing list