©
本文档使用 PHP中文网手册 发布
(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 异常。