From ef47e01f7593c4844f927752c0462dae7722ff9e Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Mon, 24 Oct 2005 18:29:50 +0000 Subject: 2005-10-24 Robert McQueen * python/dbus_bindings.pyx (String, MessageIter): make D-Bus strings derive from unicode instead of str, and encode/decode UTF-8 when marshalling/unmarshalling bus messages * python/introspect_parser.py: encode introspection data as UTF-8 before passing the buffer into libxml2 * test/python/test-client.py: add unicode test strings * test/data/valid-service-files/.cvsignore, test/python/.cvsignore: ignore generated python test files --- test/python/test-client.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/python/test-client.py') diff --git a/test/python/test-client.py b/test/python/test-client.py index 57965cc7..3cc1542b 100755 --- a/test/python/test-client.py +++ b/test/python/test-client.py @@ -23,6 +23,8 @@ if not dbus_bindings.__file__.startswith(pydir): test_types_vals = [1, 12323231, 3.14159265, 99999999.99, "dude", "123", "What is all the fuss about?", "gob@gob.com", + u'\\u310c\\u310e\\u3114', u'\\u0413\\u0414\\u0415', + u'\\u2200software \\u2203crack', u'\\xf4\\xe5\\xe8', [1,2,3], ["how", "are", "you"], [1.23,2.3], [1], ["Hello"], (1,2,3), (1,), (1,"2",3), ("2", "what"), ("you", 1.2), {1:"a", 2:"b"}, {"a":1, "b":2}, #{"a":(1,"B")}, -- cgit