From: Marco Pessotto <melmothx@gmail.com>
To: Leo <sdl.web@gmail.com>
Cc: 8744@debbugs.gnu.org
Subject: bug#8744: Also use detect-coding-string?
Date: Mon, 30 May 2011 08:42:39 +0200 [thread overview]
Message-ID: <8762oselk0.fsf@universe.krase.net> (raw)
In-Reply-To: <m1oc2k6hf8.fsf@th041120.ip.tsinghua.edu.cn> (Leo's message of "Mon, 30 May 2011 10:39:07 +0800")
Leo <sdl.web@gmail.com> writes:
> On 2011-05-30 02:49 +0800, Marco Pessotto wrote:
>> Couldn't this patch be modified as:
> [snipped 23 lines]
>
> I just read
> http://en.wikipedia.org/wiki/Internet_Relay_Chat#Character_encoding, so
> this seems to be a good change.
>
> Stefan, what do you think?
>
> Should I make the change so that if rcirc-decode-coding-system is a
> coding-system, it is used, otherwise detect the coding-system?
>
The rcirc-decode-coding-system is by default set to 'utf-8, which is
(obviously a valid coding system), so the test, if i understand
correctly, would always be true.
My idea is that the client should try to detect automatically the
encoding used for each message received, using as first choices the
encodings set by the user. That's what all the major IRC clients do (like
irssi and weechat).
Cheers
--
Marco
next prev parent reply other threads:[~2011-05-30 6:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 17:21 bug#8744: 23.3.50; rcirc prints gibberish Leo
2011-05-28 17:53 ` Deniz Dogan
2011-05-29 1:11 ` Leo
2011-05-29 14:04 ` Leo
2011-05-29 14:26 ` Leo
2011-05-29 18:49 ` bug#8744: Also use detect-coding-string? Marco Pessotto
2011-05-30 2:39 ` Leo
2011-05-30 6:42 ` Marco Pessotto [this message]
2011-05-30 12:36 ` Leo
2011-05-30 13:33 ` Stefan Monnier
2011-05-30 14:18 ` Marco Pessotto
2011-05-31 3:16 ` Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8762oselk0.fsf@universe.krase.net \
--to=melmothx@gmail.com \
--cc=8744@debbugs.gnu.org \
--cc=sdl.web@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).