From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: converting octal escape sequences to utf-8 and back Date: Tue, 31 May 2011 09:14:46 +0200 (CEST) Message-ID: <20110531.091446.1495505136276593017.hanche@math.ntnu.no> References: <19937.37639.583480.682350@gargle.gargle.HOWL> <86r57fsthk.fsf@red.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1306826096 17858 80.91.229.12 (31 May 2011 07:14:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 May 2011 07:14:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 31 09:14:52 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QRJAC-0005ZN-AD for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 09:14:52 +0200 Original-Received: from localhost ([::1]:59985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRJAB-0000IB-Rs for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 03:14:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRJA9-0000I5-Q9 for emacs-devel@gnu.org; Tue, 31 May 2011 03:14:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRJA8-0001TV-6c for emacs-devel@gnu.org; Tue, 31 May 2011 03:14:49 -0400 Original-Received: from anne.math.ntnu.no ([129.241.15.150]:48584) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QRJA7-0001TB-Qe for emacs-devel@gnu.org; Tue, 31 May 2011 03:14:48 -0400 Original-Received: (qmail 8479 invoked from network); 31 May 2011 07:14:45 -0000 Original-Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 31 May 2011 07:14:45 -0000 In-Reply-To: <86r57fsthk.fsf@red.stonehenge.com> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.3.50 on Emacs 24.0.50 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 129.241.15.150 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139938 Archived-At: [merlyn@stonehenge.com (Randal L. Schwartz) (2011-05-30 22:39:51 UTC)] > >>>>> "Roland" == Roland Winkler writes: > > Roland> So the program's output contains ascii strings like "\302\247", > > Minor nit, but "ASCII" doesn't include anything above \177. If it has a > high-bit, it has to be something like latin-1, or (in your case) raw > UTF-8 bytes. True, but given the octal escape sequences mentioned in the subject I thought he meant the string that is denoted "\\302\\247" in elisp, which is indeed ASCII. But that could be a misunderstanding on my part. - Harald