©
This document uses PHP Chinese website manual Release
(PECL haru >= 0.0.1)
HaruDoc::getEncoder — Get HaruEncoder instance for the specified encoding
$encoding
)Get the HaruEncoder instance for the specified encoding.
encoding
The encoding name. See Builtin Encodings for the list of allowed values.
Returns a HaruEncoder instance for the specified encoding.
发生错误时抛出 HaruException 异常。