title: Unicode unescaping Python
body: <p>I'm retrieving usernames from an API and I'm getting values like :</p>
  <pre class="lang-none prettyprint-override"><code>\u00e2\u0098\u0085Random Name\u00e2\u0098\u0085 &lt;3
  </code></pre>
  <p>When I try to print it out, I end up getting:</p>
  <pre class="lang-none prettyprint-override"><code>â˜…Random Nameâ˜… &lt;3
  </code></pre>
  <p>But it's supposed to be:</p>
  <pre class="lang-none prettyprint-override"><code>★Random Name★ &lt;3
  </code></pre>
  <p><code>\u00e2\u0098\u0085</code> seems to be a constructor for <code>★</code> and it looks like unicode escape sequences, but clearly something's going wrong in the conversion.<br />
  Need some help on how to go about partially unescaping the string.</p>
  <p>Edit:
  (Additional details)<br />
  I'm trying to create a discord bot that regularly updates roles based on retrieved player information.</p>
  <p>The first value above is <strong>exactly</strong> what I get from the API and I can't do anything to change that</p>
  <p><code>â˜…Random Nameâ˜… &lt;3</code> is the message being posted in the server.<br />
  I'm certain discord supports the character set because I can directly paste the username without issues</p>
  <p><code>data = json.loads(response.text)</code> is used to parse and store the response<br />
  <code>await message.channel.send(f&quot;Name: {data['name']}&quot;)</code> is used to send the message</p>
  <p><code>send()</code> is a function part of <a href="https://discordpy.readthedocs.io/en/stable/" rel="nofollow noreferrer">discord.py</a> to send messages in a specific channel</p>