From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.devel Subject: Re: converting octal escape sequences to utf-8 and back Date: Mon, 30 May 2011 15:39:51 -0700 Organization: Stonehenge Consulting Services; Portland, Oregon, USA Message-ID: <86r57fsthk.fsf@red.stonehenge.com> References: <19937.37639.583480.682350@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1306795214 10485 80.91.229.12 (30 May 2011 22:40:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 May 2011 22:40:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 31 00:40:09 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 1QRB84-0008Tx-69 for ged-emacs-devel@m.gmane.org; Tue, 31 May 2011 00:40:08 +0200 Original-Received: from localhost ([::1]:43545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRB83-00022B-PI for ged-emacs-devel@m.gmane.org; Mon, 30 May 2011 18:40:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRB81-0001zT-32 for emacs-devel@gnu.org; Mon, 30 May 2011 18:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QRB7z-00033Z-Qj for emacs-devel@gnu.org; Mon, 30 May 2011 18:40:05 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:47230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QRB7z-000334-JQ for emacs-devel@gnu.org; Mon, 30 May 2011 18:40:03 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QRB7x-0008Rn-V6 for emacs-devel@gnu.org; Tue, 31 May 2011 00:40:01 +0200 Original-Received: from red.stonehenge.com ([208.79.95.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 00:40:01 +0200 Original-Received: from merlyn by red.stonehenge.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2011 00:40:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: red.stonehenge.com x-mayan-date: Long count = 12.19.18.7.9; tzolkin = 5 Muluc; haab = 17 Zip User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) Cancel-Lock: sha1:8o+LgDx0rHT+5cnbp25ojFHHPeE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:139918 Archived-At: >>>>> "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. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion