Skip to main content

chinese_codec 0.1.2 copy "chinese_codec: ^0.1.2" to clipboard
chinese_codec: ^0.1.2 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_codec

With Flutter:

 $ flutter pub add chinese_codec

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chinese_codec: ^0.1.2

Alternatively, 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';
1
likes
160
points
1.62k
downloads

Documentation

API reference

Publisher

verified publisherpub.eltoro.cn

Weekly Downloads

Pure Dart codecs for Chinese charsets: GB18030 (incl. 4-byte and supplementary planes), GBK, GB2312, Big5 (CP950) and Big5-HKSCS. No native dependencies.

Repository
View/report issues

Topics

#encoding #charset #chinese #gbk #big5

License

MIT (license)

More

Packages that depend on chinese_codec