0

I’m trying to get Django to return a JsonResponse, but strings containing Unicode characters are being turned into escape sequences. For example, when I try to create a response with this dictionary:

{
    "Latn-x-macron": "amisk",
    "Latn": "amisk",
    "Cans": "ᐊᒥᐢᐠ"
}

cURL gets a response like this:

{
    "Latn-x-macron": "amisk",
    "Latn": "amisk", 
    "Cans": "\u140a\u14a5\u1422\u1420"
}

Is there any way to get Unicode to return normally?

0 Answers0