EncodingDetector::setText

Sets the input byte array whose encoding is to be guessed

public function setText(
  string $text,
): void;

Parameters

  • string $text

Returns

  • void