I am very puzzled by CouchDB: if I send a PUT request with some JSON string fields encoded as UTF-8, characters without 7-bit ASCII characters are converted to the escape sequence "\ uXXXX". Is there any way to tell him not to run away from UNICODE?
Those \uXXXXare the correct way to encode UTF-8 characters in Javascript.
\uXXXX
Given that CouchDB is accessing using JSON (i.e. Javascript data), these sequences should be reset when using the data, and this should not be a problem.
CouchDB mochiweb / JSON.
, witch \uXXXX.
:
-record(encoder, {handler=null, utf8=false}).
utf8=true
http://erlangine.feautec.pp.ru/?p=232, , , - CouchDB.
Source: https://habr.com/ru/post/1737515/More articles:Calculating the range of the exact number of values in Python - pythonUser Response + HTTP Status? - javaRunning .net application over network - securityGet NativeEnglishName from the iso currency symbol, regardless of the current registered user culture - .netКак изменить расширение файла для зависимостей - delphiHow to get javascript results using selenium? - javascriptGarbage collection of strings returned from C # method calls on ascx pages - garbage-collectionRails validates_format_of - regexHudson uses URL marker - build-automationHow to get IMediaControl.Run () to run a file without delay - directshowAll Articles