You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I read this (jsonFile being of type json and i being an int)
std::ifstream inStream("config.json");
nlohmann::json jsonFile;
inStream >> jsonFile;
[...]
for (int i = 0; i < size; i++) {
std::string header = jsonFile["Szene_3"][i]["Header"]["Text"];
[...]
}
I get "Bücher" in the string. When I write this exact string back into my json File it becomes "Bücher" again, yet I need to display the correct string in my application.
Can please somebody help me with this?
The text was updated successfully, but these errors were encountered:
Hi,
I have some problems with reading letters like Ä, Ü, Ö,... from a JSON file.
In my JSON file there is (besides a lot of other data):
{ "Szene_3": [ { [...] "Header": { [...] "Text": "Bücher" } } ] }
When I read this (jsonFile being of type json and i being an int)
I get "Bücher" in the string. When I write this exact string back into my json File it becomes "Bücher" again, yet I need to display the correct string in my application.
Can please somebody help me with this?
The text was updated successfully, but these errors were encountered: