Index: pyatspi/accessible.py
===================================================================
--- pyatspi/accessible.py	(revision 1003)
+++ pyatspi/accessible.py	(working copy)
@@ -440,7 +440,8 @@
     @rtype: string
     '''
     try:
-      return '[%s | %s]' % (self.getRoleName(), self.name)
+      return '[%s | %s]' % \
+          (self.getRoleName().encode('utf-8'), self.name.encode('utf-8'))
     except Exception:
       return '[DEAD]'
     
Index: pyatspi/event.py
===================================================================
--- pyatspi/event.py	(revision 1003)
+++ pyatspi/event.py	(working copy)
@@ -87,8 +87,8 @@
 \tmodifiers: %d
 \tid: %d
 \ttimestamp: %d
-\tis_text: %s''' % (kind, self.hw_code, self.event_string, self.modifiers,
-                    self.id, self.timestamp, self.is_text)
+\tis_text: %s''' % (kind, self.hw_code, self.event_string.encode('utf-8'), 
+                    self.modifiers, self.id, self.timestamp, self.is_text)
 
 class Event(object):
   '''
