Created
December 10, 2014 08:21
-
-
Save TLMcode/390a627237c500678adf to your computer and use it in GitHub Desktop.
UriDecode() for AHk using jScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uri := "file:///D:/03%20Schreiben/01_Texte/15%20%E2%80%93%20Encyclop%C3%A4dien/Encyclopedia%20of%20Sociology.pdf" | |
msgbox % UriDecode( uri ) | |
UriDecode( u ) | |
{ | |
( obj := ComObjCreate( "ScriptControl" ) ).Language := "JScript" | |
return obj.Eval( "decodeURI(`""" u `""");" ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment