Lines Matching full:safe
61 * @param string safe a filename in 'safe_filename' format
66 safe_to_unicode: function(safe) { argument
69 var split_array = safe.split(regex);
103 var safe = '';
117 safe += this.post_indicator;
120 safe += String.fromCharCode(codepoint);
123 safe += this.pre_indicator;
126 safe += this.pre_indicator + this.changeSafeBase((codepoint-32), 10, 36);
130 if(converted) safe += this.post_indicator;
132 return safe;
136 * Convert an UTF-8 string to a safe ASCII String
140 * @return string an encoded representation of filename using only 'safe' ASCII characters
149 * decode a 'safe' encoded file name and return a UTF8 string
151 * @param string filename a 'safe' encoded ASCII string,
254 if(encoding == 'safe'){
268 if(encoding == 'safe'){