rem: prefInt = Components.classes["component: ccm		= Components.classes['component: 
add: prefInt = Components.classes["@mozilla.org/preferences;1"]; ccm		= Components.classes['@mozilla.org/charset-converter-manager;1']; 
context: function startUp(){  try  {    prefInt = Components.classes["component://netscape/preferences"];    ccm		= Components.classes['component://netscape/charset-converter-manager'];    if (ccm) {      ccm = ccm.getService();      ccm = ccm.QueryInterface(Components.interfaces.nsICharsetConverterManager2);      availCharsetList = ccm.GetDecoderList();      availCharsetList = availCharsetList.QueryInterface(Components.interfaces.nsISupportsArray);      if (prefInt) {        prefInt = prefInt.getService();        prefInt = prefInt.QueryInterface(Components.interfaces.nsIPref);        pref_string = prefInt.getLocalizedUnicharPref("mailnews.view_default_charset");      }    }  }    catch(ex)  {    dump("failed to get prefs or charset mgr. services!\n");    ccm		= null;    prefInt = null;  }  LoadAvailableCharSets();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/pref-messages.js/clean/mailnews/compose/prefs/resources/content/pref-messages.js