URL Encode/Decode

URL encode and decode, handles Chinese and special characters.