Skip to content

dozenlue/DartGBK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a dart encoding library for GBK. Ported from an exsiting flutter library gbk2utf8: https://github.com/best-flutter/gbk2utf8 The orignial library can be used in flutter applications only, This port makes it can be used in any dart env.

Usage

Global defined encoding 'gbk' can be used to read/write files:

import 'package:dart_gbk/dart_gbk.dart';

main() {
  File file =File('path/to/file');
  String contents = file.readAsStringSync(encoding: gbk);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

A dart library for gbk encoding

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages