Lines Matching refs:charset
1671 $charset = null;
1677 $charset = $matches[1];
1681 . $charset
1687 if (empty($charset)) {
1708 $charset = $matches[1];
1719 $charset = 'ISO-8859-1';
1725 if (empty($charset)) {
1728 $charset = $meta->charset;
1730 $debug_object->debug_log(2, 'meta charset: ' . $charset);
1735 if (empty($charset)) {
1769 $charset = $encoding;
1771 $debug_object->debug_log(2, 'mb_detect: ' . $charset);
1777 if (empty($charset)) {
1779 $charset = 'UTF-8';
1781 $debug_object->debug_log(2, 'No match found, assume ' . $charset);
1787 if ((strtolower($charset) == 'iso-8859-1')
1788 || (strtolower($charset) == 'latin1')
1789 || (strtolower($charset) == 'latin-1')) {
1790 $charset = 'CP1252';
1793 'replacing ' . $charset . ' with CP1252 as its a superset'
1799 $debug_object->debug_log(1, 'EXIT - ' . $charset);
1802 return $this->_charset = $charset;