* CALLERID -> The server supports server side ignores via the +g user mode
* ACCEPT -> The server supports server side ignore (deprecated by CALLERID)
* LANGUAGE -> The server supports the LANGUAGE command (experimental, e.g. LANGUAGE=2,en,i-klingon)
+ * UTF8ONLY -> The server supports only UTF-8 messages in both directions https://ircv3.net/specs/extensions/utf8-only
*/
if(kvi_strEqualCIN("PREFIX=(", p, 8))
{
if((!_OUTPUT_MUTE) && (!msg->haltOutput()) && KVI_OPTION_BOOL(KviOption_boolShowExtendedServerInfo))
msg->console()->outputNoFmt(KVI_OUT_SERVERINFO, __tr2qs("This server supports the WHOX, extra information will be retrieved"));
}
+ else if(kvi_strEqualCIN("UTF8ONLY", p, 8))
+ {
+ msg->connection()->setEncoding("UTF-8");
+ }
}
if((!_OUTPUT_MUTE) && (!msg->haltOutput()))
{