Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
4
Task/URL-decoding/Mathematica/url-decoding-1.math
Normal file
4
Task/URL-decoding/Mathematica/url-decoding-1.math
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
URLDecoding[url_] :=
|
||||
StringReplace[url, "%" ~~ x_ ~~ y_ :> FromDigits[x ~~ y, 16]] //.
|
||||
StringExpression[x___, Longest[n__Integer], y___] :>
|
||||
StringExpression[x, FromCharacterCode[{n}, "UTF8"], y]
|
||||
1
Task/URL-decoding/Mathematica/url-decoding-2.math
Normal file
1
Task/URL-decoding/Mathematica/url-decoding-2.math
Normal file
|
|
@ -0,0 +1 @@
|
|||
URLDecoding["http%3A%2F%2Ffoo%20bar%2F"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue