dojo.string.encodeAscii = function(/*string*/str){ 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(str){ if(!dojo.lang.isString(str)){ return str; 
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/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js