732a263
diff -up driconf-0.9.1/driconf_simpleui.py.unicode driconf-0.9.1/driconf_simpleui.py
732a263
--- driconf-0.9.1/driconf_simpleui.py.unicode	2006-09-17 17:49:54.000000000 -0700
732a263
+++ driconf-0.9.1/driconf_simpleui.py	2008-06-05 09:56:19.000000000 -0700
732a263
@@ -450,11 +450,13 @@ class MainWindow (gtk.Window):
732a263
         else:
732a263
             screen = self.screens[0]
732a263
             if screen.glxInfo:
732a263
-                text = "%s (%s)" % (
732a263
-                    screen.glxInfo.renderer, screen.glxInfo.vendor)
732a263
+                text = u"%s (%s)" % (
732a263
+                    unicode(screen.glxInfo.renderer, "utf-8", "replace"),
732a263
+                    unicode(screen.glxInfo.vendor, "utf-8", "replace"))
732a263
             else:
732a263
-                text = _("Screen") + " %d: %s" % (
732a263
-                    screen.num, screen.driver.name.capitalize())
732a263
+                text = _(u"Screen") + u" %d: %s" % (screen.num,
732a263
+                    unicode(screen.driver.name, "utf-8",
732a263
+                        "replace").capitalize())
732a263
             deviceHBox = gtk.HBox()
732a263
             deviceLabel = gtk.Label()
732a263
             deviceLabel.set_justify(gtk.JUSTIFY_LEFT)