flutter_iconv 0.0.1

a demo use ffi iconv ffi调用iconv

flutter_iconv #

利用ffi调用iconv转换编码 a demo use ffi iconv ffi调用iconv only support android 只有安卓

Getting Started #

gbk to utf8 string


Future<String> _get4399()async{
  var rep=await http.get("http://www.4399.com");
  var byte=await iconv(rep.bodyBytes,formcode: "gbk",tocode: "utf-8");
  return await utf8.decode(byte);
}
0
likes
50
pub points
19%
popularity

a demo use ffi iconv ffi调用iconv

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

huaji249@gmail.com

License

unknown (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on flutter_iconv