rem: g_send_default_charset = prefs.CopyCharPref("mailnews.send_default_charset"); 
add: g_send_default_charset = prefs.getLocalizedUnicharPref("mailnews.send_default_charset"); 
context: function GetCharsetUIString(){  var charset = msgCompose.compFields.GetCharacterSet();  if (g_send_default_charset == null) {    try {      prefs = Components.classes['component://netscape/preferences'];      prefs = prefs.getService();      prefs = prefs.QueryInterface(Components.interfaces.nsIPref);      g_send_default_charset = prefs.CopyCharPref("mailnews.send_default_charset");    }    catch (ex) {      dump("failed to get prefs service!\n");      prefs = null;      g_send_default_charset = charset; // set to the current charset    }  }  charset = charset.toUpperCase();  if (charset == "US-ASCII")    charset = "ISO-8859-1";  if (charset != g_send_default_charset) {    if (g_charsetTitle == null) {      try {        var ccm = Components.classes['component://netscape/charset-converter-manager'];        ccm = ccm.getService();        ccm = ccm.QueryInterface(Components.interfaces.nsICharsetConverterManager2);        // get a localized string        var charsetAtom = ccm.GetCharsetAtom(charset);        g_charsetTitle = ccm.GetCharsetTitle(charsetAtom);      }      catch (ex) {        dump("failed to get a charset title of " + charset + "!\n");        g_charsetTitle = charset; // just show the charset itself      }    }    return " - " + g_charsetTitle;  }  return "";}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/fa65fbdc4bb48f7d5a1e9a6abc1be66ef246517d/MsgComposeCommands.js/clean/mailnews/compose/resources/content/MsgComposeCommands.js