--- a/QScintilla/QsciScintillaCompat.py Fri Sep 03 13:48:52 2010 +0200 +++ b/QScintilla/QsciScintillaCompat.py Fri Sep 03 18:53:24 2010 +0200 @@ -100,7 +100,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)