Home
last modified time | relevance | path

Searched refs:safe (Results 1 – 4 of 4) sorted by relevance

/dokuwiki/inc/
H A DSafeFN.class.php20 // 'safe' characters are a superset of $plain, $pre_indicator and $post_indicator
26 * Convert an UTF-8 string to a safe ASCII String
45 * @return string an encoded representation of $filename using only 'safe' ASCII characters
74 * @param string $filename a 'safe' encoded ASCII string,
89 public static function validateSafe($safe)
91 return !preg_match('#[^' . self::$plain . self::$post_indicator . self::$pre_indicator . ']#', $safe);
105 $safe = '';
111 $safe .= self::$post_indicator;
114 $safe .= chr($codepoint);
116 $safe
84 validateSafe($safe) global() argument
129 safeToUnicode($safe) global() argument
[all...]
H A Dpageutils.php692 * This makes it safe to run it multiple times on the
699 * @param bool $safe if true, only encoded when non ASCII characters detected argument
702 function utf8_encodeFN($file, $safe = true)
707 if ($safe && preg_match('#^[a-zA-Z0-9/_\-\.%]+$#', $file)) {
711 if ($conf['fnencode'] == 'safe') {
736 if ($conf['fnencode'] == 'safe') {
/dokuwiki/lib/plugins/styling/lang/en/
H A Dintro.txt2 All changes are stored in a local configuration file and are upgrade safe
/dokuwiki/lib/plugins/safefnrecode/
H A Dplugin.info.txt6 desc Changes existing page and foldernames for the change in the safe filename encoding