This project is read-only.

UTF_8 Character encoding

Nov 4, 2012 at 5:36 AM
Edited Nov 4, 2012 at 5:37 AM

I have Arabic characters in my document, when I convert my object to JSON, it encodes tha characters:

"name" : " \u0627\u0644\u0641\u0648\u0631\u064A\u0629 \u0645\u062A\u0631\u062C\u0645 \u0646\u0635\u0648\u0635 \u0645\u062C\u0627\u0646\u064A \u0625\u0644\u0649 ",

I want to store it as Arabic characters, and it's true to other languages. Of course if their is a specific reason not to do it
Nov 4, 2012 at 7:41 AM

The JSON standard is quite specific in this regard and states that all non ASCII characters should be encoded this way.