{"json_modified": "2016-03-28T08:15:26.651819", "uuid": "1eadffad-9238-4ed0-bf1b-38640aec7c0f", "title": "JS_EncodeCharacters", "url": "/en-US/docs/Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_EncodeCharacters", "tags": ["Obsolete", "SpiderMonkey", "JSAPI Reference"], "translations": [], "modified": "2014-12-28T03:38:12", "label": "JS_EncodeCharacters", "localization_tags": [], "locale": "en-US", "id": 17414, "last_edit": "2014-12-28T03:38:06", "summary": "JS_EncodeCharacters copies the characters of a jschar array into a char array, converting the 16-bit values to 8-bit values.\u00a0If SpiderMonkey was built with JS_C_STRINGS_ARE_UTF8 defined or JS_SetCStringsAreUTF8 was called, the string is converted to UTF-8.\u00a0 Otherwise each character is simply truncated to 8 bits.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "See_Also", "title": "See Also"}], "slug": "Mozilla/Projects/SpiderMonkey/JSAPI_reference/JS_EncodeCharacters", "review_tags": []}