X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Fpbap-client;h=1311cfdf1a7dfeffb263d7fa3fff53228b4634e1;hb=HEAD;hp=7456c01f620fa9ac2103263b5b5046f50dae773e;hpb=99f8658ec5c40a0bf2c7555512fd1d3bbde6b1b4;p=profile%2Fivi%2Fobexd.git diff --git a/test/pbap-client b/test/pbap-client index 7456c01..1311cfd 100755 --- a/test/pbap-client +++ b/test/pbap-client @@ -3,6 +3,9 @@ import sys import dbus +reload(sys) +sys.setdefaultencoding('utf8') + bus = dbus.SessionBus() client = dbus.Interface(bus.get_object("org.openobex.client", "/"), @@ -38,4 +41,4 @@ for path in paths: pbap.SetFormat("vcard30") pbap.SetFilter(["VERSION", "FN", "TEL"]); ret = pbap.PullAll() - print "%s" % (ret) + print "%s" % (ret.encode('utf8'))