Lines Matching refs:mb_enc

604 	var $mb_enc;
1127 $this->mb_enc = 'windows-1252';
1399 $this->setMBencoding('windows-1252'); // sets $this->mb_enc
1401 $this->setMBencoding('UTF-8'); // sets $this->mb_enc
1702 if ($this->mb_enc != $enc) {
1703 $this->mb_enc = $enc;
1704 mb_internal_encoding($this->mb_enc);
3626 $nb_spaces = mb_substr_count($s, ' ', $this->mb_enc);
4491 $txt = mb_convert_encoding($txt, $this->mb_enc, 'UTF-8');
4532 $txt = mb_convert_encoding($txt, $this->mb_enc, 'UTF-8');
5130 $stringWidth = $this->GetStringWidth($txt, true, $OTLdata, $textvar) + ( $this->charspacing * mb_strlen($txt, $this->mb_enc) / Mpdf::SCALE ) + ( $this->ws * mb_substr_count($txt, ' ', $this->mb_enc) / Mpdf::SCALE );
5858 $txt = mb_convert_encoding($txt, $this->mb_enc, 'UTF-8');
5907 $nb = mb_strlen($s, $this->mb_enc);
5908 while ($nb > 0 and mb_substr($s, $nb - 1, 1, $this->mb_enc) == "\n") {
5954 $c = mb_substr($s, $i, 1, $this->mb_enc);
5960 $tmp = rtrim(mb_substr($s, $j, $i - $j, $this->mb_enc));
6010 $tmp = rtrim(mb_substr($s, $j, $i - $j, $this->mb_enc));
6025 $tmp = rtrim(mb_substr($s, $j, $sep - $j, $this->mb_enc));
6043 $nb_carac = mb_strlen($tmp, $this->mb_enc);
6044 $nb_spaces = mb_substr_count($tmp, ' ', $this->mb_enc);
6201 $tmp = rtrim(mb_substr($s, $j, $i - $j, $this->mb_enc));
6748 $nb_carac += mb_strlen($chunk, $this->mb_enc);
6749 $nb_spaces += mb_substr_count($chunk, ' ', $this->mb_enc);
6816 $lastchar = mb_substr($content[(count($chunkorder) - 1)], mb_strlen($content[(count($chunkorder) - 1)], $this->mb_enc) - 1, 1, $this->mb_enc);
6828 $hanger = mb_substr($content[(count($chunkorder) - 1)], mb_strlen($content[(count($chunkorder) - 1)], $this->mb_enc) - 1, 1, $this->mb_enc);
6830 $content[(count($chunkorder) - 1)] = mb_substr($content[(count($chunkorder) - 1)], 0, mb_strlen($content[(count($chunkorder) - 1)], $this->mb_enc) - 1, $this->mb_enc);
6959 $nch = mb_strlen($chunk, $this->mb_enc);
6968 $stringWidth += ( $this->ws * mb_substr_count($chunk, ' ', $this->mb_enc) / Mpdf::SCALE );
7701 $charctr = mb_strlen($content[$contentctr], $this->mb_enc) - 1;
7707 $lastchar = mb_substr($content[$contentctr], $charctr, 1, $this->mb_enc);
7725 $charctr = mb_strlen($content[$contentctr], $this->mb_enc) - 1;
7731 $lastchar = mb_substr($content[$contentctr], $charctr, 1, $this->mb_enc);
7875 $clen = mb_strlen($s, $this->mb_enc);
7892 $c = mb_substr($s, $i, 1, $this->mb_enc);
7905 $lastc = mb_substr($s, ($i - 1), 1, $this->mb_enc);
8000 $charctr = mb_strlen($currContent, $this->mb_enc);
8021 $followingchar = mb_substr($s, $i + 1, 1, $this->mb_enc);
8058 $addc = mb_substr($currContent, $ac, 1, $this->mb_enc);
8070 $addc = mb_substr($s, $ac, 1, $this->mb_enc);
8110 $addc = mb_substr($currContent, $ac, 1, $this->mb_enc);
8126 $content[$contentctr] = mb_substr($content[$contentctr], 0, $charctr, $this->mb_enc) . '-' . mb_substr($content[$contentctr], $charctr + 1, mb_strlen($content[$contentctr]), $this->mb_enc);
8181 $savedPreContent[] = mb_substr($content[$cutcontentctr], $cutcharctr, mb_strlen($content[$cutcontentctr]), $this->mb_enc);
8204 $currContent = mb_substr($currContent, 0, $charctr, $this->mb_enc);
8208 $savedPreOTLdata[] = $this->otl->splitOTLdata($cOTLdata[(count($cOTLdata) - 1)], mb_strlen($currContent, $this->mb_enc));
8236 $savedOTLdata = $this->otl->splitOTLdata($cOTLdata[(count($cOTLdata) - 1)], mb_strlen($currContent, $this->mb_enc));
8297 $hanger = mb_substr($chunk, mb_strlen($chunk, $this->mb_enc) - 1, 1, $this->mb_enc);
8299 $content[$k] = $chunk = mb_substr($chunk, 0, mb_strlen($chunk, $this->mb_enc) - 1, $this->mb_enc);
8402 $nb_carac += mb_strlen($chunk, $this->mb_enc);
8403 $nb_spaces += mb_substr_count($chunk, ' ', $this->mb_enc);
8587 $nch = mb_strlen($chunk, $this->mb_enc);
8596 $stringWidth += ( $this->ws * mb_substr_count($chunk, ' ', $this->mb_enc) / Mpdf::SCALE );
10471 $w = ($this->GetStringWidth($txt, false, $OTLdata, $textvar) * Mpdf::SCALE) + ($this->charspacing * mb_strlen($txt, $this->mb_enc)) + ( $this->ws * mb_substr_count($txt, ' ', $this->mb_enc));
10499 $texte = mb_convert_encoding($texte, $this->mb_enc, 'UTF-8');
13404 if ($this->mb_enc) {
13405 mb_internal_encoding($this->mb_enc);
13453 $e = mb_convert_encoding($e, $this->mb_enc, 'UTF-8');
13455 $e = mb_strtoupper($e, $this->mb_enc);
13458 $e = mb_strtolower($e, $this->mb_enc);
13473 $e = mb_strtoupper($e, $this->mb_enc);
13475 $e = mb_strtolower($e, $this->mb_enc);
25373 $text = mb_convert_encoding($text, $this->mb_enc, 'UTF-8');
25599 if (mb_convert_encoding(mb_convert_encoding($writehtml_e, $this->mb_enc, "UTF-8"), "UTF-8", $this->mb_enc) == $writehtml_e) {
27154 $replacement[$k] = mb_convert_encoding($replacement[$k], $this->mb_enc, 'utf-8');