rem: if (charsetid.length > 4) { 
add: if (charsetid.length > 1) { 
context: function Save(){  // Iterate through the 'active charsets  tree to collect the charsets  // that the user has chosen.   var active_charsets		   = document.getElementById('active_charsets');   var active_charsets_treeroot = document.getElementById('active_charsets_root');     var row          = null;  var cell         = null;  var charsetid    = new String();  var num_charsets = 0;  charsets_pref_string = '';  for (var item = active_charsets_treeroot.firstChild; item != null; item = item.nextSibling) {    row  =  item.firstChild;    cell =  row.firstChild;    charsetid = cell.getAttribute('id');	if (charsetid.length > 4) {	        num_charsets++;		//separate >1 charsets by commas		if (num_charsets > 1) {			charsets_pref_string = charsets_pref_string + "," + " " + charsetid;		} else {			charsets_pref_string = charsetid;		}	}  }		  try	  {		if (prefInt)		{						//AddRemoveLatin1('remove');			prefInt.SetCharPref("intl.charset_menu.static", charsets_pref_string);			//prefInt.SetCharPref("browser.startup.homepage", charsets_pref_string);			//prefInt.CopyCharPref("intl.charset_menu.static", charsets_pref_string); 			//prefInt.SetCharPref("browser.startup.homepage", "www.betak.net");			confirm_text = document.getElementById('confirm_text');			dump('intl.charset_menu.static set to ' + charsets_pref_string + '.\n');			window.close();			confirm(confirm_text.getAttribute('value'));		}	  }	  catch(ex)	  {		  confirm('exception' + ex); 		  //prefInt.SetDefaultCharPref("intl.charset_menu.static", "iso-8859-1, iso-2022-jp, shift_jis, euc-jp");	  }} //Save
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d5988bd10083bfc5b57b74c6dbfed95ea03d41a2/pref-charset.js/buggy/suite/common/pref/pref-charset.js