From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: UDP/DNS in Emacs Date: Sun, 31 Mar 2002 21:18:35 -0500 Sender: emacs-devel-admin@gnu.org Message-ID: <200204010218.g312IZm12148@rum.cs.yale.edu> References: <7263-Sun31Mar2002200101+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017627753 15349 127.0.0.1 (1 Apr 2002 02:22:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 1 Apr 2002 02:22:33 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16rrSr-0003zS-00 for ; Mon, 01 Apr 2002 04:22:33 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16rrdr-0006Hp-00 for ; Mon, 01 Apr 2002 04:33:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rrRO-0008ER-00; Sun, 31 Mar 2002 21:21:02 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16rrP4-00086X-00 for ; Sun, 31 Mar 2002 21:18:38 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g312IZm12148; Sun, 31 Mar 2002 21:18:35 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: "Eli Zaretskii" Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2292 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2292 > > From: Lars Magne Ingebrigtsen > > Newsgroups: gmane.emacs.devel > > Date: Sun, 31 Mar 2002 16:55:35 +0200 > > > > Eli Zaretskii writes: > > > > > Decode the data with raw-text-unix, and you should be fine. > > > > > > If that doesn't help, please tell the details. > > > > I had just forgotten how to do all that stuff. After getting a > > unibyte buffer for dealing with binary data, it all just works. > > IMHO, using unibyte buffers is asking for trouble. It's the main > reason for those \201 beauties popping up in user buffers. Emacs 21 > doesn't need that anymore (although they are still supported). And I disagree (and I think RMS partly disagrees as well). When dealing with bytes rather than chars, using unibyte buffers is the right thing to do. It's the use of bytes in multibyte buffers that creates the problems where \201 can occur. Stefan