URL Encoder

URL encode and decode for non-utf8 encodings

2023-07-20 일자. 최신 버전을 확인하세요.

이 스크립트는 직접 설치해서 쓰는 게 아닙니다. 다른 스크립트가 메타 명령 // @require https://update.greatest.deepsurf.us/scripts/471280/1222824/URL%20Encoder.js(으)로 포함하여 쓰는 라이브러리입니다.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
PYUDNG
버전
0.1
생성
2023-07-20
갱신
2023-07-20
크기
5.96KB
라이선스
MIT

@require this script and you'll get $URL.encode(str) and $URL.decode(str) available.

$URL.encode(str) returns encodeURIComponent(str) but in encoding=document.characterSet

$URL.decode(str) returns decodeURIComponent(str) but in encoding=document.characterSet


for now, only big5 and gbk are supported for $URL.encode(str). $URL.decode(str) supports all encodings that your browser supports.