diff -r 7d247a767510 -r bc2948d7c5f2 QScintilla/QsciScintillaCompat.py --- a/QScintilla/QsciScintillaCompat.py Mon Aug 30 19:01:55 2010 +0200 +++ b/QScintilla/QsciScintillaCompat.py Fri Sep 03 18:54:15 2010 +0200 @@ -96,7 +96,7 @@ except AttributeError: rangeHigh = list(range(40, 128)) - f = font.family() + f = font.family().encode() ps = font.pointSize() for style in rangeLow + rangeHigh: self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f)