rem: client.currentObject.say (fromUnicode(msg)); 
add: if (client.currentObject.TYPE == "IRCChannel") { var charset = client.currentObject.charset; client.currentObject.say (fromUnicode(msg, charset)); } else { client.currentObject.say (fromUnicode(msg)); } 
context: function cli_say(msg){    switch (client.currentObject.TYPE)    {        case "IRCChannel":        case "IRCUser":        case "IRCChanUser":            msg = filterOutput (msg, "PRIVMSG");            client.currentObject.display (msg, "PRIVMSG", "ME!",                                          client.currentObject);            client.currentObject.say (fromUnicode(msg));            break;        case "IRCClient":            client.onInputEval ({inputData: msg});            break;        default:            if (msg != "")                client.currentObject.display                     (getMsg("cli_sayMsg", client.currentObject.TYPE), "ERROR");            break;    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/81f8daa616f604d5909615e1f30d00c27be4d14b/static.js/clean/extensions/irc/xul/content/static.js