[Kde-bindings] [Bug 105084] Python DCOP query issues with non-ASCII characters

Miguel Angel maacruz at gmail.com
Mon May 1 11:42:41 UTC 2006

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

------- Additional Comments From maacruz gmail com  2006-05-01 13:42 -------
Confirmed on KDE 3.5.2
This happens on any pydcop call, if I try to use unicode strings the "DCOP: Unknown method" runtime error is raised. If I use non-unicode strings, national characters are interpreted as 8 bit ascii.
This makes pydcop unusable for internacionalized projects
pydcop.anyAppCalled('amarok').scripts.addCustomMenuItem(u'á','b') ->Exception
pydcop.anyAppCalled('amarok').scripts.addCustomMenuItem('á','b') ->wrong characters

As a side note, pykde's dcop extension doesn't have this  problem (it has many others, though)

More information about the Kde-bindings mailing list