big5_utf8_converter 1.2.0 copy "big5_utf8_converter: ^1.2.0" to clipboard
big5_utf8_converter: ^1.2.0 copied to clipboard

A Dart library for converting between Big5 encoded text and UTF-8. Efficiently handles Traditional Chinese content with support for custom mapping and file-based lookup tables.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.2.0 - 2026-06-21 #

Features #

  • Add Big5Encoder (Converter<String, List<int>>): encode a Unicode string to Big5 bytes — the inverse of Big5Decoder. ASCII (<= 0x7E) is emitted as a single byte; other characters use a lazily-built reverse lookup over the existing mapping table.
  • encode(s) throws FormatException on a character with no Big5 mapping; encodeLossy(s) drops such characters instead.

1.1.0 - 2024-09-19 #

Features #

  • Remove dart:io dependency to improve portability

1.0.0 - 2024-09-08 #

Added #

  • Initial release of the big5_utf8_converter package.
  • Implemented Big5Decoder class for converting Big5 encoded text to UTF-8.
  • Support for loading custom mapping data from files.
  • Efficient lookup table implementation for fast conversion.
  • Comprehensive unit tests to ensure reliability.
  • Option to use pre-generated mapping data or load from a file.
  • Handling of invalid and incomplete Big5 sequences with customizable unknown character replacement.

Features #

  • Convert Big5 encoded byte lists to UTF-8 strings.
  • Support for mixed ASCII and Big5 content.
  • Optional stripping of whitespace from conversion results.
  • Flexible API allowing for various use cases and integration scenarios.
0
likes
160
points
200
downloads

Documentation

API reference

Publisher

verified publisherchangyy.app

Weekly Downloads

A Dart library for converting between Big5 encoded text and UTF-8. Efficiently handles Traditional Chinese content with support for custom mapping and file-based lookup tables.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on big5_utf8_converter