Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 11, 2019 18:28
Show Gist options
  • Save Whateverable/98ce16752c6ffe021a7bbc1cb7670fda to your computer and use it in GitHub Desktop.
Save Whateverable/98ce16752c6ffe021a7bbc1cb7670fda to your computer and use it in GitHub Desktop.
committable6
eb3917c260b^,eb3917c260b https://gist.github.com/AlexDaniel/158721b3ee4e4c2bbed8b8273fca02ae
¦«eb3917c260b^,eb3917c»:
1..23
ok 1 - Encode " "
ok 2 - Encode "|abcå"
ok 3 - Encode -.~_
ok 4 - Encode :/? \#\[\]@!$&'()*+,;=
ok 5 - Encode "abc"
ok 6 - Encode "<\"
ok 7 - Encode "Hello World!"
ok 8 - Encode "http://perltricks.com/"
ok 9 - Encode "https://perltricks.com/"
ok 10 - Encode "https://www.example.com/🇩🇪"
ok 11 - Encode components "Hello World!"
ok 12 - Encode components ' \#$&+,/:;=?@'
ok 13 - Encode components "🇩🇪"
ok 14 - Decode to " "
ok 15 - Decode to "|abcå"
ok 16 - Decode to "abc"
ok 17 - Decode to "~*'()"
ok 18 - Decode to "<\"
ok 19 - Decode to "http://perltricks.com/"
ok 20 - Decode tp "https://perltricks.com/"
ok 21 - Decode "https://www.example.com/%F0%9F%87%A9%F0%9F%87%AA"
ok 22 - Decode components to ' \#$&+,/:;=?@'
ok 23 - Decode components "🇩🇪"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment