--- dbus-python-1.1.1/test/test-standalone.py 2012-12-11 16:26:12.126616092 +0000 +++ dbus-python-1.1.1/test/test-standalone.py 2012-12-11 16:48:48.847168511 +0000 @@ -435,7 +435,11 @@ def utf8(*xs): return str('').join(map(chr, xs)) def uni(x): - return unichr(x) + hi,lo=divmod(x-0x10000,0x400) + if hi>0: + return unichr(0xd800+hi)+unichr(0xdc00+lo) + else: + return unichr(x) for bad in [ uni(0xD800), utf8(0xed, 0xa0, 0x80),