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.php186 if ($codepoint = $this->consume_range($range)) {
190 $codepoint = hexdec($codepoint);
192 $codepoint = intval($codepoint);
195 if (isset($windows_1252_specials[$codepoint])) {
196 $replacement = $windows_1252_specials[$codepoint];
198 $replacement = SimplePie_Misc::codepoint_to_utf8($codepoint);
/dokuwiki/inc/
H A DSafeFN.class.php108 foreach ($unicode as $codepoint) {
109 …if ($codepoint < 127 && (strpos(self::$plain . self::$post_indicator, chr($codepoint)) !== false))…
114 $safe .= chr($codepoint);
115 } elseif ($codepoint == ord(self::$pre_indicator)) {
119 $safe .= self::$pre_indicator . base_convert((string)($codepoint - 32), 10, 36);
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1903 * @param int $codepoint Unicode codepoint
1906 public static function codepoint_to_utf8($codepoint) argument
1908 $codepoint = (int) $codepoint;
1909 if ($codepoint < 0) {
1911 } elseif ($codepoint <= 0x7f) {
1912 return chr($codepoint);
1913 } elseif ($codepoint <= 0x7ff) {
1914 return chr(0xc0 | ($codepoint >> 6)) . chr(0x80 | ($codepoint & 0x3f));
1915 } elseif ($codepoint <= 0xffff) {
1916 …return chr(0xe0 | ($codepoint >> 12)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($code…
[all …]