©
Ce document utilise Manuel du site Web PHP chinois Libérer
(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 异常。