FLUTTER ECOSYSTEM

gbk_codec

GBK codec converter (enCode and deCode) library includes bytes codec.

Latest version
0.4.0
30-day downloads
22.9K
Likes
5
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The gbk_codec package is a Flutter/Dart library that provides encoding and decoding functionality for the GBK character set, enabling seamless conversion between bytes and text in Chinese environments. It supports both encoding (converting text to GBK bytes) and decoding (reversing the process), making it ideal for handling legacy Chinese text data. Designed for cross-platform use, it works on Android, iOS, Web, macOS, Windows, and Linux. The library is lightweight and focused solely on GBK codec operations without additional dependencies.

Use cases
  • Processing legacy Chinese text data
  • Converting between GBK bytes and strings
  • Integrating with systems using GBK encoding
  • Handling Chinese content in web and mobile apps
  • Supporting older Chinese file formats
Key features
  • GBK encoding and decoding
  • Cross-platform compatibility
  • Lightweight and focused design
  • No external dependencies
  • Simple API for byte-text conversion
Suitable for
  • Developers working with Chinese text
  • Apps requiring GBK support
  • Legacy system integrations
  • Internationalized applications targeting China
  • Projects needing efficient text encoding
Considerations
  • Limited to GBK encoding only
  • Not suitable for UTF-8 or other encodings
  • Requires careful handling of byte sequences
  • May not support all edge cases in GBK
  • Best used in specific regional contexts
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add gbk_codec

Categories

Related projects