Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I noticed display names in the JSON contain HTML character entities; e.g. /2.0/users/718618?order=desc&sort=reputation&site=stackoverflow

Gives me:

  "items": [
      "user_id": 718618,
      "user_type": "registered",
      "creation_date": 1303376809,
      "display_name": "Cédric Julien",

I can HtmlDecode the display names I'm getting from the API. Would it be better if the API just returned the UTF8 character?

Relevant SO question: JSON character encoding

share|improve this question
up vote 1 down vote accepted

The default filter is unsafe=false, so the strings are coming back escaped. If I create a filter with unsafe=true the names come thru without the escaping.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .