title: json.dumps \u escaped unicode to utf8
body: <p>I came from this <a href="https://stackoverflow.com/questions/18337407/saving-utf-8-texts-in-json-dumps-as-utf8-not-as-u-escape-sequence">old discussion</a>, but the solution didn't help much as my original data was encoded differently:</p>
  <p>My original data was already encoded in unicode, I need to output as UTF-8</p>
  <pre><code>data={&quot;content&quot;:u&quot;\u4f60\u597d&quot;}
  </code></pre>
  <p>When I try to convert to utf:</p>
  <pre><code>json.dumps(data, indent=1, ensure_ascii=False).encode(&quot;utf8&quot;)
  </code></pre>
  <p>the output I get is
  <code>&quot;content&quot;: &quot;ä½ å¥½&quot;</code> and the expected out put should be
  <code>&quot;content&quot;: &quot;你好&quot;</code></p>
  <p>I tried without <code>ensure_ascii=false</code> and the output becomes plain unescaped <code>&quot;content&quot;: &quot;\u4f60\u597d&quot;</code></p>
  <p>How can I convert the previously \u escaped json to UTF-8?</p>