rem: var theTab = browser.addTab(href, getReferrer(document)); 
add: var theTab = browser.addTab(href, getReferrer(document), originCharset); 
context: function openNewTabWith(href, linkNode, event, securityCheck){  if (securityCheck)    urlSecurityCheck(href, document);   var prefSvc = Components.classes["@mozilla.org/preferences-service;1"]                          .getService(Components.interfaces.nsIPrefService);  prefSvc = prefSvc.getBranch(null);  // should we open it in a new tab?  var loadInBackground = true;  try {    loadInBackground = prefSvc.getBoolPref("browser.tabs.loadInBackground");  }  catch(ex) {  }  if (event && event.shiftKey)    loadInBackground = !loadInBackground;  var browser = top.document.getElementById("content");    var theTab = browser.addTab(href, getReferrer(document));  if (!loadInBackground)    browser.selectedTab = theTab;    if (linkNode)    markLinkVisited(href, linkNode);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4e010e87edb878409c2a7a4289450101d9fb9543/contentAreaUtils.js/clean/browser/base/content/contentAreaUtils.js