From 222ecbffbb5f0c21e64002c95fe9447b4f6b6320 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 17 Sep 2012 00:36:10 +0200 Subject: Implement new IRC+ "CHARCONV" command See bug 109 and doc/Protocol.txt for details and documentation. --- doc/Protocol.txt | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/Protocol.txt b/doc/Protocol.txt index 5093eea9..3d2cda6c 100644 --- a/doc/Protocol.txt +++ b/doc/Protocol.txt @@ -1,9 +1,8 @@ ngIRCd - Next Generation IRC Server + http://ngircd.barton.de/ - (c)2001-2008 Alexander Barton, - alex@barton.de, http://www.barton.de/ - + (c)2001-2012 Alexander Barton and Contributors. ngIRCd is free software and published under the terms of the GNU General Public License. @@ -181,3 +180,34 @@ first command sent to the server, even before USER and NICK commands! The must be set in the server configuration file to prevent unauthorized clients to fake their identity; it is an arbitrary string. + +II.5 Client character encoding conversion + + Command: CHARCONV + Parameters: + Used by: registered clients + Replies: RPL_IP_CHARCONV_MSG, ERR_IP_CHARCONV_MSG + + +III. Numerics used by IRC+ Protocol +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The IRC+ protocol uses numerics in the range 800-899 which aren't used by +RFC 2812 and hopefully don't clash with other implementations ... + +Numerics 800-849 are used for status and success messages, and numerics +850-899 are failure and error messages. + + +III.1 IRC+ status and success numerics + +800 - RPL_IP_CHARCONV_MSG + %1 :Client encoding set" + + %1 client character set + + +III.2 IRC+ failure and error numerics + +850 - ERR_IP_CHARCONV_MSG + :Can't initialize client encoding -- cgit 1.4.1