ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Hebrew characters with JSON files

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bar Borer
Hebrew characters with JSON files
on Jul 11, 2019 at 12:51:17 am

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!


Return to posts index

Tomas Bumbulevičius
Re: Hebrew characters with JSON files
on Jul 14, 2019 at 11:13:32 am

Hey, it has to be text editor which you are using. Just tested this with 'Brackets' - no issues.

Saved file with "בלאגן", imported into AE - no escapes found.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.
Boxer - Dynamic Text Boxes Template with a Live Preview


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]