Searched refs:safe (Results 1 – 4 of 4) sorted by relevance
20 // 'safe' characters are a superset of $plain, $pre_indicator and $post_indicator26 * Convert an UTF-8 string to a safe ASCII String45 * @return string an encoded representation of $filename using only 'safe' ASCII characters74 * @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...]
692 * This makes it safe to run it multiple times on the699 * @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') {
2 All changes are stored in a local configuration file and are upgrade safe
6 desc Changes existing page and foldernames for the change in the safe filename encoding