-
Hebrew characters with JSON files
whenever I try to use a string from a CSV or a JSON file with any Hebrew characters in it, the string shows as empty.
I have succeeded in using Unicode escape sequences so this:
[
{
"id": "01",
"title": "בלאגן",
"sub": "",
"year": 1989
},
{
"id": "02",
"title": "כל הזמן",
"sub": "לא מפסיק לרקוד",
"year": 1990
}
]
becomes this:
[
{
"id": 1,
"title": "\u05d1\u05dc\u05d0\u05d2\u05df",
"sub": "",
"year": 1989
},
{
"id": 2,
"title": "\u05db\u05dc \u05d4\u05d6\u05de\u05df",
"sub": "\u05dc\u05d0 \u05de\u05e4\u05e1\u05d9\u05e7 \u05dc\u05e8\u05e7\u05d5\u05d3",
"year": 1990
}
]
converting the text takes a lot of time, I haven’t find an easy way to get around that, does someone know about anything that can help?
even a JSON writer that can type automatically with the Unicode escape sequences.
thank you very much!