GoLang HaruDoc::getEncoder

request it (49)
GoLang replacement for PHP's HaruDoc::getEncoder [edit | history]



Do you know a GoLang replacement for PHP's HaruDoc::getEncoder? Write it!

PHP HaruDoc::getEncoder

PHP original manual for HaruDoc::getEncoder [ show | php.net ]

HaruDoc::getEncoder

(PECL haru >= 0.0.1)

HaruDoc::getEncoderGet HaruEncoder instance for the specified encoding

Description

object HaruDoc::getEncoder ( string $encoding )

Get the HaruEncoder instance for the specified encoding.

Parameters

encoding

The encoding name. See Builtin Encodings for the list of allowed values.

Return Values

Returns a HaruEncoder instance for the specified encoding.

Errors/Exceptions

Throws a HaruException on error.

See Also