ECMAScript encodeURI/decodeURI, escape/unescape function spec implementations in autohotkey v1, v2

by ddart posted Apr 16, 2023
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

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)