You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
333 B
14 lines
333 B
4 years ago
|
// Taken from: https://github.com/walling/unorm/blob/master/test/es6-shim.js
|
||
|
|
||
|
"use strict";
|
||
|
|
||
|
var str = "äiti";
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
a(t.call(str), "\u00e4iti");
|
||
|
a(t.call(str, "NFC"), "\u00e4iti");
|
||
|
a(t.call(str, "NFD"), "a\u0308iti");
|
||
|
a(t.call(str, "NFKC"), "\u00e4iti");
|
||
|
a(t.call(str, "NFKD"), "a\u0308iti");
|
||
|
};
|