rem: searchURI += "&text=" + escape(gSearchField.value); 
add: searchURI += "&text=" + encodeURIComponent(gSearchField.value); 
context: function find(){  // Build up a find URI from the search fields and open a new window  // rooted on the URI.   var match = document.getElementById("matchList");  var method = document.getElementById("methodList");  var searchURI = "find:datasource=rdf:bookmarks"  searchURI += "&match=" + match.selectedItem.value;  searchURI += "&method=" + method.selectedItem.value;  searchURI += "&text=" + escape(gSearchField.value);  var bmWindow = findMostRecentWindow("bookmarks:searchresults", "chrome://communicator/content/bookmarks/bookmarksManager.xul", searchURI);    // Update the root of the tree if we're using an existing search window.   if (!gCreatingNewWindow)     bmWindow.document.getElementById("bookmarks-view").tree.setAttribute("ref", searchURI);   bmWindow.focus();  if (document.getElementById("saveQuery").checked == true)  {    var bundle = document.getElementById("bookmarksBundle");    var findTitle = BookmarksUtils.getLocaleString("ShortFindTitle", [gSearchField.value]);    BMSVC.addBookmarkImmediately(searchURI, findTitle, BMSVC.BOOKMARK_FIND_TYPE, null);  }  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/88492d9c995ceda6020251f3d47ec74983301832/findBookmark.js/buggy/xpfe/components/bookmarks/resources/findBookmark.js