我想将Big 5中的json转换为UTF-8。我尝试使用charset_converter包中的示例,但出现编译错误:Uint 8List不是类型。
Uint8List encoded = await CharsetConverter.encode("Big5", name); String decoded = await CharsetConverter.decode("UTF-8", encoded);
cbwuti441#
1条答案
按热度按时间cbwuti441#