Description
I'm facing some encoding issues with the client;
The problem are when using non ascii characters, more precisely æøåÆØÅ etc.
client.jsonset("test", Path.rootPath(), {'name': 'test111', 'items': []})
client.jsonget('test') --> {'name': 'test111', 'items': []}
client.jsonarrinsert('test', Path('.items'), 0, {'company': 'Åre', 'destination': 'ÅS', 'origin': 'LØR'})
client.jsonget('test')
This does not look correct?
{"name":"test111","items":[{"company":"\u00c3\u0085re","destination":"\u00c3\u0085S","origin":"L\u00c3\u0098R"},]}
What i had expected:
{"name":"test111","items":[{"company":"\u00c5re","destination":"\u00c5S","origin":"L\u00d8R"},]}
or
{"name":"test111","items":[{"company":"\xc5re","destination":"\xc5S","origin":"L\xd8R"},]}
If i save as strings they appear to get the correct encoding, but then my array elements are turned in to strings instead of objects
If I'm doing it wrong, I'd be greatful for any tips! :)