FLUTTER ECOSYSTEM

unorm_dart

Unicode 17.0 Normalization - NFC, NFD, NFKC, NFKD. This is a Dart port of [walling/unorm](https://github.com/walling/unorm).

Latest version
0.3.2
30-day downloads
140.1K
Likes
27
Pub points
150

Package Overview

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

Overview

unorm_dart is a Dart implementation of Unicode 17.0 normalization algorithms, supporting NFC, NFD, NFKC, and NFKD forms. It enables consistent text processing by normalizing Unicode strings to standard representations, crucial for accurate comparison, searching, and storage. Based on the original walling/unorm library, it ensures cross-platform compatibility across Android, iOS, Web, macOS, Windows, and Linux. Ideal for internationalized applications requiring robust handling of accented characters, combining marks, and special symbols.

Use cases
  • Text comparison in multilingual apps
  • Searching and indexing normalized strings
  • Handling user input with diacritics
  • Data deduplication across locales
  • Standardizing Unicode input for APIs
Key features
  • Supports all four Unicode normalization forms
  • Cross-platform compatibility
  • Lightweight and fast
  • Accurate Unicode 17.0 compliance
  • Simple, intuitive API
Suitable for
  • Internationalized Flutter apps
  • Text processing tools
  • User authentication with accent-insensitive matching
  • Database normalization workflows
  • Localization libraries
Considerations
  • May increase bundle size slightly
  • Requires careful handling of edge cases in legacy encodings
  • Not suitable for non-Unicode text
  • Performance impact on very large text batches
  • Limited to normalization—no other Unicode operations
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add unorm_dart

Categories

Source repository

Related projects