Skip to main content

Encoding-Aware String Utilities

Explore the crate below!

Powerful Encoding-Aware Strings #

Encoding-aware string utilities for Ada 2022, developed by Björn Persson for robust internationalisation (i18n). Ideal for multilingual applications.

Supports text processing with the following encodings:

  • Universal Character Set 4, Big-Endian (UCS-4 BE)
  • Universal Character Set 4, Little-Endian (UCS-4 LE)
  • Universal Character Set 2, Big-Endian (UCS-2 BE)
  • Universal Character Set 2, Little-Endian (UCS-2 LE)
  • Unicode Transformation Format 16, Big-Endian (UTF-16 BE)
  • Unicode Transformation Format 16, Little-Endian (UTF-16 LE)
  • Unicode Transformation Format 8 (UTF-8)
  • American Standard Code for Information Interchange (ASCII)
  • ISO/IEC 8859-1 (Latin-1)
  • Code Page 850 (DOS Latin-1)
  • Windows Code Page 1252

Additional features:

  • Text I/O for encoding-aware input/output
  • Basic command-line parsing for internationalised text

Useful Links: