package gapi-ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2
doc/gapi-ocaml.netstring-local/Netencoding/index.html
Module Netencoding
Source
Base64, Quoted Printable, URL encoding, HTML escaping
This module implements the "Quoted Printable" encoding as * described in RFC 2045. * * This implementation assumes that the encoded string has a text MIME * type. On input both CR/LF and LF are accepted as end-of-line (eol) terminators, * but the output normalizes the eol delimiter as the crlf
argument * specifies. Note that this implies that * - If crlf
, the output uses CR/LF as line separator as MIME prescribes * - the encoding is not invertible for binary data
Encoding/Decoding within URLs: * * The following two functions perform the '%'-substitution for * characters that may otherwise be interpreted as metacharacters. * * According to: RFC 1738, RFC 1630 * * Option plus
: This option has been added because there are some * implementations that do not map ' ' to '+', for example Javascript's * escape
function. The default is true
because this is the RFC- * compliant definition.
Encodes characters that need protection by converting them to * entity references. E.g. "<"
is converted to "<"
. * As the entities may be named, there is a dependency on the character * set.