diff example_config.xml @ 172:64a0e9636ae6

removed encoding.py, charsets handling is now in irclib and custom charsets can be set per server in the configuration file Signed-off-by: Charly COSTE <changaco@changaco.net>
author Charly COSTE <changaco@changaco.net>
date Tue, 02 Feb 2010 20:19:50 +0100
parents e0eea72ea493
children
line wrap: on
line diff
--- a/example_config.xml
+++ b/example_config.xml
@@ -6,11 +6,13 @@
 		<admin jid='admin2@example.net' />
 		<bridge mode='normal' say_level='all'>
 			<xmpp-room jid='dream-world@chat.example.com'/>
-			<irc chan='#dream-world' server='irc.example.org'/>
+			<irc chan='#dream-world' server='irc.example.org' charsets='utf-8 iso8859_15'/>
+				<!-- separate codecs by a space -->
+				<!-- see <http://docs.python.org/library/codecs.html#standard-encodings> for a list of codecs -->
 		</bridge>
 		<bridge mode='minimal' say_level='nothing'>
 			<xmpp-room jid='room@chat.example.com'/>
-			<irc chan='#chan' server='irc.example.org' connection_interval='2'/> <!-- connection_interval is in seconds -->
+			<irc chan='#chan' server='irc.example.net' connection_interval='2'/> <!-- connection_interval is in seconds -->
 		</bridge>
 	</bot>
 	<!-- WARNING: do NOT start two bots with the same JID or the same nickname -->