Searched refs:codepoint (Results 1 – 3 of 3) sorted by relevance
187 if ($codepoint = $this->consume_range($range)) {191 $codepoint = hexdec($codepoint);193 $codepoint = intval($codepoint);196 if (isset($windows_1252_specials[$codepoint])) {197 $replacement = $windows_1252_specials[$codepoint];199 $replacement = SimplePie_Misc::codepoint_to_utf8($codepoint);
29 * - if codepoint is a plain or post_indicator character,34 * - if codepoint is a pre_indicator character,39 * - reduce codepoint value for non-printable ASCII characters (0x00 - 0x1f). Space becomes our zero.60 * - copy codepoint values of remaining characters to the output array70 * - increase codepoint value for non-printable ASCII characters (add 0x20)71 * - append codepoint to output array108 foreach ($unicode as $codepoint) {109 if ($codepoint < 127 && (strpos(self::$plain . self::$post_indicator, chr($codepoint)) !== false)) {114 $safe .= chr($codepoint);[all...]
1901 * Converts a unicode codepoint to a UTF-8 character1904 * @param int $codepoint Unicode codepoint1907 public static function codepoint_to_utf8($codepoint) argument 1909 $codepoint = (int) $codepoint;1910 if ($codepoint < 0) {1912 } elseif ($codepoint <= 0x7f) {1913 return chr($codepoint);1914 } elseif ($codepoint <[all...]