encodeUnicodeToChinese static method
Converts unicode sequences to chinese characters
Implementation
static String encodeUnicodeToChinese(String unicodeString) {
unicodeString = unicodeString.replaceAll(r'\\u', r'\u');
var presplit = unicodeString.split(r'\u')..removeAt(0);
final result = String.fromCharCodes(
presplit.map<int>((hex) => int.parse(hex, radix: 16)),
);
return result;
}