![]() ![]() I'm just posting this in case someone else has the same problems that I was having. PS: I'm a AutoHotKey noob, so I'm probably missing something obvious that would explain why I was having problems with the function in the first place. Thanks for posting the original code, Titan! Please note that I made no attempt at a universal fix: I just modified the parts that were causing problems in my specific and very limited usage of this function. ![]() The second RegExMatch() now ignores colons and forward slashes, and the Asc() function is now wrapped with a SubStr that strips the extra characters. So I modified the function slightly, here is the result: Hexadecimal numbers all start with the prefix 0x (e.g. In my case, these were colons (:) and forward slashes (/).Ģ) It was outputting hex character numbers with a 0x at the beginning, which is consistent with what the SetFormat documentation says regarding hexadecimal format: Strange, when I run the uriEncode() function that Titan posted, I had the following problems:ġ) It was encoding characters that didn't need to be encoded.
0 Comments
Leave a Reply. |