From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: undecided vs utf-8 Date: Fri, 5 Nov 2010 13:28:29 +0100 Message-ID: References: <83sjzg42d5.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1288960167 21134 80.91.229.12 (5 Nov 2010 12:29:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2010 12:29:27 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 05 13:29:21 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PELQ1-00024X-1n for ged-emacs-devel@m.gmane.org; Fri, 05 Nov 2010 13:29:21 +0100 Original-Received: from localhost ([127.0.0.1]:34696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PELQ0-00083x-Fj for ged-emacs-devel@m.gmane.org; Fri, 05 Nov 2010 08:29:20 -0400 Original-Received: from [140.186.70.92] (port=49393 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PELPo-00080T-TH for emacs-devel@gnu.org; Fri, 05 Nov 2010 08:29:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PELPh-0004S5-9o for emacs-devel@gnu.org; Fri, 05 Nov 2010 08:29:08 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:58265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PELPh-0004RZ-6r; Fri, 05 Nov 2010 08:29:01 -0400 Original-Received: by gwb11 with SMTP id 11so2471534gwb.0 for ; Fri, 05 Nov 2010 05:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5Al0TuiMbZPQJ5X+WqgcRZNC1StAtL4WLJ8BtWjHlAs=; b=Hsg/XkeOoZtYDMr3fCy/4gZbaBu+ms5ivDl0wnZI4psDdhS4b+hEkxOEZF/nJEJjir Y6guMtAeSMHnqikj+4PslJ3gM2exCzz4hz0JGBN5x/G5R4KFvr9t5ZQ+BJr7P3celSNu I0fgqi8by+lXIHhsuXPyoXTZrTQ/FcGKngRg0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=T4jyI0WMCu7SNHisd7VFOyDRNvoj7IoHXLDIUdpyyxms7nh+7/AxnwKjFsbfm4zowy rVoHPFSB9VMe9ZgtO3nVK2cd2EKBUEU+t8yhaNglawVMAAzJvsHaSkMz1Tpas/y7q/1/ zkEwRAnQ9WjrcgFS6sGV7hLUp4TINnLFnA+kY= Original-Received: by 10.42.173.65 with SMTP id q1mr1198797icz.305.1288960139314; Fri, 05 Nov 2010 05:28:59 -0700 (PDT) Original-Received: by 10.231.30.66 with HTTP; Fri, 5 Nov 2010 05:28:29 -0700 (PDT) In-Reply-To: <83sjzg42d5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:132396 Archived-At: 2010/11/5 Eli Zaretskii : >> From: Lars Magne Ingebrigtsen >> Date: Fri, 05 Nov 2010 03:32:02 +0100 >> >> The use case that made me look into this -- erc -- is somewhat special. >> The irc protocol does no charset tagging, and some clients send some >> charsets, and some send others, which is why erc uses `undecided' as the >> default coding system. =A0Typically on a channel you'll see somebody usi= ng >> a local (iso-8859-* is popular) charset, and others using utf-8. > > How do other erc clients solve this problem? > > rcirc uses utf-8 for both encoding and decoding by default, letting the user override these settings for specific channels using rcirc-coding-system-alist. --=20 Deniz Dogan