omniClientMakePrintable

Defined in OmniClient.h

char *omniClientMakePrintable(char const *string, char *buffer, size_t *bufferSize)

This makes a URL safe for printing in a UI or to a console window.

The input is expected to be a full, potentially with percent-encoded, URL.

It percent-encodes any ASCII control characters or invalid UTF-8 characters. It percent-decodes any valid UTF-8 characters, and ASCII characters that are not reserved by the URL specification.

buffer rules are the same as omniClientMakeUrl