How to get unicode decimal/hex value from a chinese word in Dart/Flutter
In Dart/Flutter, given a Mandarin word "中", how to get the Unicode hex (4E2D) or decimal (20013) value? I get the value from this website. I can only convert the word into hex by doing HEX.encode(utf8.encode("中"));, which is not the…