Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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]
|
||||
Loading…
Add table
Add a link
Reference in a new issue