Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Decode/HTML/
H A DEntities.php187 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);
/dokuwiki/inc/
H A DSafeFN.class.php29 * - 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 array
70 * - increase codepoint value for non-printable ASCII characters (add 0x20)
71 * - append codepoint to output array
108 foreach ($unicode as $codepoint) {
109 if ($codepoint < 127 && (strpos(self::$plain . self::$post_indicator, chr($codepoint)) !== false)) {
114 $safe .= chr($codepoint);
[all...]
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1901 * Converts a unicode codepoint to a UTF-8 character
1904 * @param int $codepoint Unicode codepoint
1907 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...]