[PATCH] fix unicode string encoding/decoding in python bindings
robert.mcqueen at collabora.co.uk
Wed Sep 21 04:24:32 PDT 2005
I ran into TypeError exceptions when trying to send unicode strings over
DBus with the python bindings, so I did this patch to add support for
sending and recieving unicode strings. dbus.String is now descended from
unicode rather than str, these and str/unicode objects are encoded to
utf8 to send, and incoming strings are decoded from utf8.
: What's the canonical capitalisation of this? dbus, D-BUS, DBUS,
DBus, D-Bus...? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2131 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050921/6f81325d/dbus-python-unicode-sending.bin
More information about the dbus