rfc1738Encode

Encodes string using the RFC 1738 recommendations: the <constant>&lt;&gt;&quot;#%{}|\^~[]&apos;`;/?:@=&amp;</constant> and space characters are replaced by <constant>&quot;%ab&quot;</constant> where <constant>ab</constant> is the hexadecimal number corresponding to the character.

string
rfc1738Encode
(
string string_
)

Parameters

string_ string

a string to encode

Return Value

Type: string

a new string