chinese_codec 0.1.3
chinese_codec: ^0.1.3 copied to clipboard
Pure Dart codecs for Chinese charsets: GB18030 (incl. 4-byte and supplementary planes), GBK, GB2312, Big5 (CP950) and Big5-HKSCS. No native dependencies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add chinese_codecWith Flutter:
$ flutter pub add chinese_codecThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
chinese_codec: ^0.1.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:chinese_codec/chinese_codec.dart';