Fix bug with UTF16LE in Encode/Decode ops

This commit is contained in:
toby 2017-05-19 16:11:08 -04:00
parent 8e72d7d0d6
commit dd3b42fb53
5 changed files with 2517 additions and 2519 deletions

View file

@ -68,4 +68,23 @@ TestRegister.addTests([
},
],
},
{
name: "Generate Base64 Windows Powershell",
input: "ZABpAHIAIAAiAGMAOgBcAHAAcgBvAGcAcgBhAG0AIABmAGkAbABlAHMAIgAgAA==",
expectedOutput: "dir \"c:\\program files\" ",
recipeConfig: [
{
"op": "From Base64",
"args": ["A-Za-z0-9+/=", true]
},
{
"op": "Decode text",
"args": ["UTF16LE (1200)"]
},
{
"op": "Encode text",
"args": ["UTF-8 (65001)"]
},
],
},
]);