2012-05-29, 16:36
This is again a python issue. In python unicode strings (as the one you retrieve from CommonCache seems to be) and standard strings are not interchangeable so you have to do the conversion between them manually. xbmc.executeJSONRPC() expects an UTF-8 encoded string and not a "python unicode string" so python complains when you try to put a unicode string into a standard string (even if its UTF-8 encoded).
Maybe you should ask in the addon/script development forum as there are many python addons/scripts that use JSON-RPC, maybe someone can help you there.
Maybe you should ask in the addon/script development forum as there are many python addons/scripts that use JSON-RPC, maybe someone can help you there.