From 7ffe278e0556d222291840dc91c785ccf824fee5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?louiz=E2=80=99?= <louiz@louiz.org>
Date: Thu, 11 Aug 2016 17:18:51 +0200
Subject: Document the JID escaping with xep 106

---
 doc/biboumi.1.rst | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'doc')

diff --git a/doc/biboumi.1.rst b/doc/biboumi.1.rst
index b370140..6ac4b71 100644
--- a/doc/biboumi.1.rst
+++ b/doc/biboumi.1.rst
@@ -229,6 +229,12 @@ not allowed in the local part of a JID (for example '@').  If you need to send a
 message to a nick containing such a character, you can use a jid like
 ``%irc.example.com@biboumi.example.com/AnnoyingNickn@me``, because the JID
 ``AnnoyingNickn@me%irc.example.com@biboumi.example.com`` would not work.
+And if you need to address a channel that contains such invalid characters, you
+have to use `jid-escaping <http://www.xmpp.org/extensions/xep-0106.html#escaping>`,
+and replace each of these characters with their escaped version, for example to
+join the channel ``#b@byfoot``, you need to use the following JID:
+``#b\40byfoot%irc.example.com@biboumi.example.com``.
+
 
 Examples:
 
-- 
cgit v1.2.3