#text #unicode #normalization #decomposition #recomposition

unic-normal

UNIC — Unicode Normalization Forms

9 releases (breaking)

0.9.0 Mar 3, 2019
0.8.0 Jan 2, 2019
0.7.0 Feb 7, 2018
0.6.0 Sep 22, 2017
0.1.2 Jun 20, 2017

#9 in #normalization

Download history 842/week @ 2021-08-12 1149/week @ 2021-08-19 1180/week @ 2021-08-26 908/week @ 2021-09-02 1376/week @ 2021-09-09 1302/week @ 2021-09-16 932/week @ 2021-09-23 1206/week @ 2021-09-30 1021/week @ 2021-10-07 936/week @ 2021-10-14 577/week @ 2021-10-21 542/week @ 2021-10-28 619/week @ 2021-11-04 301/week @ 2021-11-11 313/week @ 2021-11-18 378/week @ 2021-11-25

1,727 downloads per month
Used in 12 crates (5 directly)

MIT/Apache

245KB
952 lines

UNIC — Unicode Normalization Forms

Crates.io Documentation

This UNIC component implements algorithms from Unicode® Standard Annex #15 - Unicode Normalization Forms.

Notes

Initial code for this component is based on unicode-normalization.


lib.rs:

UNIC — Unicode Normalization Forms

A component of unic: Unicode and Internationalization Crates for Rust.

This UNIC component implements algorithms from Unicode Standard Annex #15 - Unicode Normalization Forms.

extern crate unic_normal;

use unic_normal::StrNormalForm;

fn main() {
    let s = "ÅΩ";
    let c = s.nfc().collect::<String>();
    assert_eq!(c, "ÅΩ");
}

Dependencies