big5_utf8_converter
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.
What this package is like to depend on
Last release 2 months ago
21 Jun 2026
Ships unpredictably
gaps range from 1 weeks to 1.6 years
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
4 releases · first in 2024
1 release in the last 12 months
see the full history below
Release timeline
4 releases · Sep 2024 to Jun 2026Releases
latest 4-
1.2.021 Jun 2026Release notes
Open source →feat: add Big5Encoder (Unicode→Big5), bump to 1.2.0
- Big5Encoder mirrors Big5Decoder via a lazy reverse lookup over the
existing mapping table; encode() throws on unmapped chars, encodeLossy()
skips them.
- Round-trip + known-byte + ASCII tests.Release notes
Open source →Features
- Add
Big5Encoder(Converter<String, List<int>>): encode a Unicode string to Big5 bytes — the inverse ofBig5Decoder. ASCII (<= 0x7E) is emitted as a single byte; other characters use a lazily-built reverse lookup over the existing mapping table. encode(s)throwsFormatExceptionon a character with no Big5 mapping;encodeLossy(s)drops such characters instead.
- Add
-
1.1.129 Oct 2024 -
1.1.019 Sep 2024 -
1.0.008 Sep 2024Release notes
Open source →Added
- Initial release of the
big5_utf8_converterpackage. - Implemented
Big5Decoderclass 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.
- Initial release of the