Only needed in the following circumstances:
1.) Indicate what the transfer encoding is if the data has not yet been
set in the object (can only be set if there presently are not
any contents).
2.) Force the encoding to a certain type on a toString() call (if
'send' is true).
public setTransferEncoding ( string $encoding, array $options = [] ) | ||
$encoding | string | The transfer encoding to use. |
$options | array | Additional options: - send: (boolean) If true, use $encoding as the sending encoding. DEFAULT: $encoding is used to change the base encoding. |