(PECL haru >= 0.0.1)
HaruDoc::getEncoder — Get HaruEncoder instance for the specified encoding
$encoding
)Get the HaruEncoder instance for the specified encoding.
Returns a HaruEncoder instance for the specified encoding.
发生错误时抛出 HaruException 异常。