mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 16:56:15 -04:00
Added support for 109 more character encodings
This commit is contained in:
parent
734962ac22
commit
e1378860d6
12 changed files with 150 additions and 2517 deletions
|
@ -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");
|
||||
}),
|
||||
|
|
|
@ -79,7 +79,7 @@ TestRegister.addTests([
|
|||
},
|
||||
{
|
||||
"op": "Decode text",
|
||||
"args": ["UTF16LE (1200)"]
|
||||
"args": ["UTF-16LE (1200)"]
|
||||
},
|
||||
{
|
||||
"op": "Encode text",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue