Skip to main content
Participant
Sep 17, 2024 9:07 AM UTC
Answered

Special characters in JSON file - not readable

Thanks for stopping by 🙂

 

I have a JSON file with which I control different languages. In many languages special characters are used: äöüéô and so on

 

As soon as I insert even one special character in my json file, it becomes completely unreadable (regardless of whether this part is read or not).

 

If I remove the special character, everything works again.

In older posts (2017) this was once recorded as a bug: LINK 


Is this still a bug and is there another work-around than manually inserting the code for each special character?
For example, “\u00e4” for each “ä”?

 

That would be quite a mess...

 

Thank you very much 🙂

This topic is closed to new replies. Start a new post to keep the conversation going.
Airweb_AECorrect answer
Legend
Sep 17, 2024 10:03 AM UTC

The JSON file must be encoded in UTF-8.

2 replies

Airweb_AECorrect answer
Legend
Sep 17, 2024 10:03 AM UTC

The JSON file must be encoded in UTF-8.

Translate
Participant
Sep 17, 2024 10:39 AM UTC

I am using JSON-edit on windows and just checked the settings.

 

And it works!! As long as both options are checked

 

Thank you very much 😄

 

Translate