rem: value = value.replace(OS_PARAM_INPUT_ENCODING, aQueryEncoding); 
add: value = value.replace(OS_PARAM_INPUT_ENCODING, aEngine.queryCharset); 
context: function ParamSubstitution(aParamValue, aSearchTerms, aQueryEncoding) {  var value = aParamValue;  // Insert the parameters we're confident about  value = value.replace(OS_PARAM_USER_DEFINED, aSearchTerms);  value = value.replace(OS_PARAM_INPUT_ENCODING, aQueryEncoding);  value = value.replace(OS_PARAM_LANGUAGE,                        getLocale() || OS_PARAM_LANGUAGE_DEF);  value = value.replace(OS_PARAM_OUTPUT_ENCODING,                        OS_PARAM_OUTPUT_ENCODING_DEF);  // Replace any optional parameters  value = value.replace(OS_PARAM_OPTIONAL, "");  // Insert any remaining required params with our default values  for (var i = 0; i < OS_UNSUPPORTED_PARAMS.length; ++i) {    value = value.replace(OS_UNSUPPORTED_PARAMS[i][0],                          OS_UNSUPPORTED_PARAMS[i][1]);  }  return value;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7cd10e54bf2fcb55ed8d0a79c3f3bba97e4edac7/nsSearchService.js/clean/browser/components/search/nsSearchService.js