if(!dojo.lang.isString(str)){ return str; } var ret = ""; var value = escape(str); var match, re = /%u([0-9A-F]{4})/i; while((match = value.match(re))){ var num = Number("0x"+match[1]); var newVal = escape("&#" + num + ";"); ret += value.substring(0, match.index) + newVal; value = value.substring(match.index+match[0].length); } ret += value.replace(/\+/g, "%2B"); return ret; 
if(!dojo.lang.isString(str)){ return str; } var ret = ""; var value = escape(str); var match, re = /%u([0-9A-F]{4})/i; while((match = value.match(re))){ var num = Number("0x"+match[1]); var newVal = escape("&#" + num + ";"); ret += value.substring(0, match.index) + newVal; value = value.substring(match.index+match[0].length); } ret += value.replace(/\+/g, "%2B"); return ret; 
dojo.string.encodeAscii = function(/*string*/str){	if(!dojo.lang.isString(str)){ return str; } // unknown	var ret = "";	var value = escape(str);	var match, re = /%u([0-9A-F]{4})/i;	while((match = value.match(re))){		var num = Number("0x"+match[1]);		var newVal = escape("&#" + num + ";");		ret += value.substring(0, match.index) + newVal;		value = value.substring(match.index+match[0].length);	}	ret += value.replace(/\+/g, "%2B");	return ret; // string}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js