mirror of
https://github.com/gchq/CyberChef
synced 2025-12-31 15:43:42 +00:00
Added support for 109 more character encodings
This commit is contained in:
@@ -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");
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user