title: Emoji and accent encoding in dart/flutter
body: <p>I get the next String from my api</p>
  <pre><code>&quot;Ã Ã© Ã­ Ã³ Ãº Ã¼ Ã± \uD83D\uDE00\uD83D\uDE03\uD83D\uDE04\uD83D\uDE01\uD83D\uDE06\uD83D\uDE05&quot;
  </code></pre>
  <p>from a response in a json format</p>
  <pre><code>{
      'apiText': &quot;Ã Ã© Ã­ Ã³ Ãº Ã¼ Ã± \uD83D\uDE00\uD83D\uDE03\uD83D\uDE04\uD83D\uDE01\uD83D\uDE06\uD83D\uDE05&quot;,
      'otherInfo': 'etc.',
      .
      .
      .
  }
  </code></pre>
  <p>it contains accents <code>Ã Ã© Ã­ Ã³ Ãº Ã¼ Ã±</code> that are not correctly encoded and it contains emojis <code>\uD83D\uDE00\uD83D\uDE03\uD83D\uDE04\uD83D\uDE01\uD83D\uDE06\uD83D\uDE05</code></p>
  <p>so far i have tried</p>
  <pre><code>var json = jsonDecode(response.body)
  String apiText = json['apiText'];
  List&lt;int&gt; bytes = apiText.codeUnits;
  comentario = utf8.decode(bytes);
  </code></pre>
  <p>but produces a</p>
  <p><code>[ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: FormatException: Invalid UTF-8 byte (at offset 21)</code></p>
  <p>how can i get the correct text with accents and emoji?</p>