diff libpurple/protocols/irc/irc.h @ 23594:aac5753e2528

This adds an "auto-detect UTF-8" option to IRC which, when enabled, will treat any incoming text which validates as UTF-8 as UTF-8 regardless of the configured account encoding. It does not affect transmission, and is not enabled by default (as it interferes with some non-UTF-8 encodings, notably ISO-2022).
author Ethan Blanton <elb@pidgin.im>
date Sun, 27 Jul 2008 13:29:26 +0000
parents dc359ea9eb9a
children c204239bef48
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.h	Fri Jul 25 16:33:24 2008 +0000
+++ b/libpurple/protocols/irc/irc.h	Sun Jul 27 13:29:26 2008 +0000
@@ -35,6 +35,7 @@
 #define IRC_DEFAULT_SSL_PORT 994
 
 #define IRC_DEFAULT_CHARSET "UTF-8"
+#define IRC_DEFAULT_AUTODETECT FALSE
 #define IRC_DEFAULT_ALIAS "purple"
 
 #define IRC_DEFAULT_QUIT "Leaving."