Added support for 109 more character encodings

This commit is contained in:
n1474335 2019-11-01 14:56:18 +00:00
parent 734962ac22
commit e1378860d6
12 changed files with 150 additions and 2517 deletions

View file

@ -353,10 +353,10 @@ color: white;
it("Decode text", () => {
const encoded = chef.encodeText("Ugly Duckling", {
encoding: "UTF16LE (1200)",
encoding: "UTF-16LE (1200)",
});
const result = chef.decodeText(encoded, {
encoding: "UTF16LE (1200)",
encoding: "UTF-16LE (1200)",
});
assert.strictEqual(result.toString(), "Ugly Duckling");
}),