Skip to content

Instantly share code, notes, and snippets.

@honda0510
Created July 29, 2011 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honda0510/1113516 to your computer and use it in GitHub Desktop.
Save honda0510/1113516 to your computer and use it in GitHub Desktop.
VBAでURLエンコード
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
@honda0510
Copy link
Author

あ~もうぜんぜんついていけません。
YU-TANGさんすごいっすね。

@yu-tang
Copy link

yu-tang commented Oct 11, 2011

お蔭様で、ここでやり取っているうちに、64bit 環境でURLエンコードする別の方法を思いついたので、暇になったら書きます。
(しかし検証ができんな…)

@honda0510
Copy link
Author

マジッすか。ぜひぜひ。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment