p2pu / learning-circles

Create local study groups and learn together.
https://learningcircles.p2pu.org
MIT License
13 stars 9 forks source link

Should we return UTF8 in the learning circles API? #721

Open dirkcuys opened 4 years ago

dirkcuys commented 4 years ago

Ex. call to /api/learningcircles/cities/ gives

{
   "count": 9, 
   "items": [
      { "value": "boston",  "label": "Boston" }, 
      { "value": "cape_town", "label": "Cape Town" }, 
      { "value": "montr\\u00e9al", "label": "Montr\\u00e9al" }, 
      ...
   ]
}

Here is a question and answer on stack overflow about return UTF8 in a response.

dirkcuys commented 3 years ago

UTF-8 is supposed to be the default https://tools.ietf.org/html/rfc7159#section-8.1