On Fri, 25 Jul 2014, Petr Vobornik wrote:
Returning non-unicode causes serialization into base64 which causes
havoc in Web UI.
ACK for this patch.
IMHO we should fix JSON-RPC serialization to encode non-unicode
strings to normal JSON strings.
We should use unicode strings everywhere and leave non-unicode ones to
present binary content, that's why it is encoded as base64.
So no, we shouldn't change JSON-RPC serialization. However, we need to
find a way to track non-unicode strings where possible.
/ Alexander Bokovoy
Freeipa-devel mailing list