Add operation to normalise unicode

This commit is contained in:
Matthieu 2019-11-25 22:53:31 +01:00
parent 610d46a1a4
commit a6fa0628f2
7 changed files with 134 additions and 0 deletions

View file

@ -164,3 +164,15 @@ export const IO_FORMAT = {
"Simplified Chinese GB18030 (54936)": 54936,
};
/**
* Unicode Normalisation Forms
*
* @author Matthieu [m@tthieu.xyz]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*/
/**
* Character encoding format mappings.
*/
export const UNICODE_NORMALISATION_FORMS = ["NFD", "NFC", "NFKD", "NFKC"];