/** * @throws UnsupportedEncodingException * @param String $encoding */ public function __construct($encoding = 'UTF-8') { parent::__construct($encoding); mb_internal_encoding($encoding); }
protected function __construct() { parent::__construct(self::NAME); }
/** * @throws UnsupportedEncodingException * @param String $encoding */ public function __construct($encoding = 'UTF-8') { parent::__construct($encoding); iconv_set_encoding("internal_encoding", $encoding); }
public function __construct($sInputString, $sEncoding = null) { parent::__construct($sInputString, $sEncoding); $this->_oDomString = new \DomDocument(); $this->_oDomString->loadXML('<div>' . $this->_sString . '</div>'); }
/** * Constructeur. * * @see \Aouka\String\Encoding::_construct * @param string $sInputString Chaîne de caractères. * @param string $sEncoding Type d'encodage à utiliser. */ public function __construct($sInputString, $sEncoding = null) { parent::__construct($sInputString, $sEncoding); }