Home > PHP > Function > > HaruDoc::getEncoder()

HaruDoc::getEncoder()

HaruDoc::getEncoder - Get
HaruEncoderinstance for the specified encoding

Syntax

object HaruDoc::getEncoder (string $encoding)

Arguments

  • encoding - The encoding name. See Builtin Encodingsfor the list of allowed values.

Description

Get the HaruEncoderinstance for the specified encoding.

Version

PHP PECL haru >= 0.0.1

Return value

Returns a HaruEncoderinstance for the specified encoding.