Converting a List<int> to a String in Dart
I first tried using this:
String.fromCharCodes
But it mangled the UTF-8 encoding, even though the doc mentions something about UTF-16. For example, it mangled:
<literal>亜</literal>
Into:
<literal>äº</literal>
It turns out I should have used this instead:
import 'dart:convert';
utf8.decode(list);