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

#345 in Internationalization (i18n)

Download history 1478/week @ 2024-04-08 1642/week @ 2024-04-15 1478/week @ 2024-04-22 1175/week @ 2024-04-29 1575/week @ 2024-05-06 1503/week @ 2024-05-13 1164/week @ 2024-05-20 1514/week @ 2024-05-27 1837/week @ 2024-06-03 1738/week @ 2024-06-10 1493/week @ 2024-06-17 2834/week @ 2024-06-24 1689/week @ 2024-07-01 1654/week @ 2024-07-08 1761/week @ 2024-07-15 1540/week @ 2024-07-22

6,814 downloads per month
Used in 18 crates (6 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