From 2bea6a912a6649fc4e5e51414bf948ce6efef258 Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 4 Apr 2008 04:01:36 +0000 Subject: [PATCH] =?utf8?q?2008-04-04=20=20=E6=98=A5=E6=97=A5=20=E7=8E=84=20K?= =?utf8?q?ASUGA=20Toru=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * riece-irc.el (riece-irc-open-server): Encode realname when issueing a USER command. --- lisp/ChangeLog | 7 ++++++- lisp/riece-irc.el | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 190d0fe..a8019b0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,4 +1,9 @@ -2008-03-26 Takeru Naito +2008-04-04 春日 玄 KASUGA Toru + + * riece-irc.el (riece-irc-open-server): Encode realname when + issueing a USER command. + +2008-03-26 Takeru Naito * riece-keyword.el (riece-keyword-message-filter): Don't match to empty string if riece-keywords is nil, or it only contains regexp diff --git a/lisp/riece-irc.el b/lisp/riece-irc.el index a621c24..349f89a 100644 --- a/lisp/riece-irc.el +++ b/lisp/riece-irc.el @@ -86,7 +86,8 @@ (format "USER %s * * :%s\r\n" (or username (user-real-login-name)) - (or realname + (or (encode-coding-string realname + coding) "No information given"))) (riece-process-send-string process (format "NICK %s\r\n" nickname)) (with-current-buffer (process-buffer process) -- 1.7.10.4