-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
state: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated
Description
I'm expecting the following code:
json result;
result["name"] = L"אינעל דינק";
std::cout << result.dump(4) << std::endl;
to output:
{
"name": "\u05D0\u05D9\u05E0\u05E2\u05DC \u05D3\u05D9\u05E0\u05E7"
}
However, it treats the unicode string as json array, outputs instead:
{
"name": [
1488,
1497,
1504,
1506,
1500,
32,
1491,
1497,
1504,
1511,
0
]
}
BTW Thanks for this project. cool stuff happen here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state: stalethe issue has not been updated in a while and will be closed automatically soon unless it is updatedthe issue has not been updated in a while and will be closed automatically soon unless it is updated