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.php190 if ($codepoint = $this->consume_range($range))
196 $codepoint = hexdec($codepoint);
200 $codepoint = intval($codepoint);
203 if (isset($windows_1252_specials[$codepoint]))
205 $replacement = $windows_1252_specials[$codepoint];
209 $replacement = SimplePie_Misc::codepoint_to_utf8($codepoint);
/dokuwiki/inc/
H A DSafeFN.class.php101 foreach ($unicode as $codepoint) {
102 … if ($codepoint < 127 && (strpos(self::$plain.self::$post_indicator,chr($codepoint))!==false)) {
107 $safe .= chr($codepoint);
109 } else if ($codepoint == ord(self::$pre_indicator)) {
113 $safe .= self::$pre_indicator.base_convert((string)($codepoint-32),10,36);
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php1973 * @param int $codepoint Unicode codepoint
1978 $codepoint = (int) $codepoint;
1979 if ($codepoint < 0)
1983 else if ($codepoint <= 0x7f)
1985 return chr($codepoint);
1987 else if ($codepoint <= 0x7ff)
1989 return chr(0xc0 | ($codepoint >> 6)) . chr(0x80 | ($codepoint & 0x3f));
1991 else if ($codepoint <= 0xffff)
1993 …return chr(0xe0 | ($codepoint >> 12)) . chr(0x80 | (($codepoint >> 6) & 0x3f)) . chr(0x80 | ($code…
1995 else if ($codepoint <= 0x10ffff)
[all …]