URL encode and decode for non-utf8 encodings
The following scripts use this library's Greasy Fork URL in a @require:
@require