Home
last modified time | relevance | path

Searched refs:pagecodefrom (Results 1 – 6 of 6) sorted by relevance

/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/
H A Dtranslate.class.php762 * @param string $pagecodefrom Page code of src string
765 public function convToOutputCharset($str, $pagecodefrom = 'UTF-8') argument
767 if ($pagecodefrom == 'ISO-8859-1' && $this->charset_output == 'UTF-8') $str = utf8_encode($str);
768 …if ($pagecodefrom == 'UTF-8' && $this->charset_output == 'ISO-8859-1') $str = utf8_decode(str_repl…
H A Dldap.class.php1394 * @param string $pagecodefrom Page code of src string
1397 private function convToOutputCharset($str, $pagecodefrom = 'UTF-8') argument
1400 …if ($pagecodefrom == 'ISO-8859-1' && $conf->file->character_set_client == 'UTF-8') $str = utf8_en…
1401 …if ($pagecodefrom == 'UTF-8' && $conf->file->character_set_client == 'ISO-8859-1') $str = utf8_de…
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/class/
H A Dtranslate.class.php772 * @param string $pagecodefrom Page code of src string
775 public function convToOutputCharset($str, $pagecodefrom = 'UTF-8') argument
777 if ($pagecodefrom == 'ISO-8859-1' && $this->charset_output == 'UTF-8') {
780 if ($pagecodefrom == 'UTF-8' && $this->charset_output == 'ISO-8859-1') {
H A Dldap.class.php1393 * @param string $pagecodefrom Page code of src string
1396 private function convToOutputCharset($str, $pagecodefrom = 'UTF-8') argument
1399 if ($pagecodefrom == 'ISO-8859-1' && $conf->file->character_set_client == 'UTF-8') {
1402 if ($pagecodefrom == 'UTF-8' && $conf->file->character_set_client == 'ISO-8859-1') {
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/lib/
H A Dfunctions.lib.php6020 * @param string $pagecodefrom Pagecode stringtoencode is encoded
6024 function dol_htmlentitiesbr($stringtoencode, $nl2brmode = 0, $pagecodefrom = 'UTF-8', $removelasteo… argument
6032 $newstring = dol_htmlentities($newstring, ENT_COMPAT, $pagecodefrom); // Make entity encoding
6036 $newstring = dol_nl2br(dol_htmlentities($newstring, ENT_COMPAT, $pagecodefrom), $nl2brmode);
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/lib/
H A Dfunctions.lib.php6556 * @param string $pagecodefrom Pagecode stringtoencode is encoded
6560 function dol_htmlentitiesbr($stringtoencode, $nl2brmode = 0, $pagecodefrom = 'UTF-8', $removelasteo… argument
6569 $newstring = dol_htmlentities($newstring, ENT_COMPAT, $pagecodefrom); // Make entity encoding
6575 $newstring = dol_nl2br(dol_htmlentities($newstring, ENT_COMPAT, $pagecodefrom), $nl2brmode);