For the sake of brevity and clarity, I implemented commonly used ECMAScript encoding functions, including UTF-8 encoding and decoding, in AHK code
download for autohotkey v1.x : ecmascript.ahk
download for autohotkey v2.x : ecmascript.ahk
Usage :
#include <ecmascript> uri := "https://www.google.co.kr/search?q=kt+고객센터+전화번호" encoded := ECMAScript.encodeURI(uri) decoded := ECMAScript.decodeURI(encoded) escaped := ECMAScript.escape(uri) unescaped := ECMAScript.unescape(escaped)