Created
July 29, 2011 09:32
-
-
Save honda0510/1113516 to your computer and use it in GitHub Desktop.
VBAでURLエンコード
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
Function UrlEncodeUtf8(str As String) As String | |
Dim script As Object | |
Set script = CreateObject("ScriptControl") | |
script.Language = "Jscript" | |
UrlEncodeUtf8 = script.CodeObject.encodeURIComponent(str) | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
お蔭様で、ここでやり取っているうちに、64bit 環境でURLエンコードする別の方法を思いついたので、暇になったら書きます。
(しかし検証ができんな…)