On Thursday 19 December 2002 2:25 pm, Martin v. L�wis wrote: > Serge <[EMAIL PROTECTED]> 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.
You will also need the latest QScintilla snapshot which fixes the bug that Martin found which prevented characters encoded as two bytes to be entered. Phil _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
