You are here

public function FeedsExTextEncoder::__construct in Feeds extensible parsers 7

Constructs a FeedsExEncoderInterface object.

Parameters

array $encoding_list: The list of encodings to search through.

Overrides FeedsExEncoderInterface::__construct

File

src/Text/Utility.php, line 84
Contains FeedsExEncoderInterface and FeedsExTextEncoder.

Class

FeedsExTextEncoder
Generic text encoder.

Code

public function __construct(array $encoding_list) {
  $this->encodingList = $encoding_list;
  $this->isMultibyte = $GLOBALS['multibyte'] == UNICODE_MULTIBYTE;
}