This is typically used to constructing strings that don't have spaces or other special characters, and can be safely used as file names, URLs, or other identifiers where special characters are not allowed.
Go to the source code of this file.
Functions | |
void | url_encode (const char *source, char *target, int length) |
Encodes a plain ASCII string into the percent-hex form of RFC 2396. | |
void | url_decode (const char *source, char *target, int length) |
Decodes an RFC 2396 string into plain ASCII. |
|
Encodes a plain ASCII string into the percent-hex form of RFC 2396.
For example, the string
|
|
Decodes an RFC 2396 string into plain ASCII.
For example, the string
|