File driconf-0.9.1-glxinfo-unicode.patch of Package driconf

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