URL Encoding

Web Site  Methods

 
Str::UrlEncode
 
void UrlEncode (Str& dest, BOOL spaceAsPlus = FALSE)
Not compatible with STR_NO_RTLIBRARY 

Encodes the URL contained in the string object appropriately according to the URI RFCs.  The spaceAsPlus flag indicates how to treat the most common URL encoding exception - the space character.  Specifically:

The result is stored in the passed string object.

 

Important:

At the time of this writing, the most current RFC describing the URI / URL encoding process is the RFC 3986

 

See also: Basic operations