See StringSink.writeCharCode.
void writeCharCode(int charCode) { write(String.fromCharCode(charCode)); }