tags:

views:

149

answers:

1

I'm quite puzzled by CouchDB: if I send a PUT request with some JSON string fields encoded as UTF-8, the non 7 bit ASCII characters get converted to the "\uXXXX" escape sequence. Is there any way to tell it not to escape UNICODE?

+3  A: 

Those \uXXXX are the correct way of encoding UTF-8 characters in Javascript.

Considering CouchDB is accessed using JSON (i.e. Javascript data), those sequences should be interepreted when using the data, and this should not be a problem.

Pascal MARTIN