URL Encoder

URL encode and decode for non-utf8 encodings

As of 20.07.2023. See ბოლო ვერსია.

ეს სკრიპტი არ უნდა იყოს პირდაპირ დაინსტალირებული. ეს ბიბლიოთეკაა, სხვა სკრიპტებისთვის უნდა ჩართეთ მეტა-დირექტივაში // @require https://update.greatest.deepsurf.us/scripts/471280/1222824/URL%20Encoder.js.

ავტორი
PYUDNG
ვერსია
0.1
შექმნილია
20.07.2023
განახლებულია
20.07.2023
Size
5,96 KB
ლიცენზია
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.