'Binary', 'quoted' => 'Quoted-printable', '7bit' => '7 Bit', '8bit' => '8 Bit', 'base64' => 'Base 64', ], $name, $selected, [ 'class' => 'acym__select', 'acym-data-infinite' => '', 'style' => 'max-width: 200px;', ], '', '', 'config_encoding' ); } public function charsetField(string $name, string $selected, array $attribs = []): string { $charsetType = new CharsetType(); return acym_select($charsetType->charsets, $name, $selected, $attribs, '', ''); } } function acym_errorHandlerEncoding(int $errno, string $errstr = ''): bool { static $error = false; if ($errno === -1) { $currentError = $error; $error = false; return $currentError; } $error = true; return true; }