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