context: function cmdCharset(e){    var pm;        if (e.command.name == "default-charset")    {        pm = client.prefManager;        msg = MSG_CURRENT_CHARSET;    }    else    {        pm = e.sourceObject.prefManager;        msg = MSG_CURRENT_CHARSET_VIEW;    }    if (e.newCharset)    {        if (e.newCharset == "-")        {            pm.clearPref("charset");        }        else        {            if(!checkCharset(e.newCharset))            {                display(getMsg(MSG_ERR_INVALID_CHARSET, e.newCharset),                        MT_ERROR);                return;            }            pm.prefs["charset"] = e.newCharset;        }    }    display(getMsg(msg, pm.prefs["charset"]));}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d84f82bf3e11bd09e70e1036662b0018f8834acc/commands.js/clean/extensions/irc/xul/content/commands.js