From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60146 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: mm-util.el question Date: Tue, 12 Apr 2005 09:39:05 +0900 Organization: Emacsen advocacy group Message-ID: References: <61hdicykk7.fsf@fencepost.gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113266276 10364 80.91.229.2 (12 Apr 2005 00:37:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2005 00:37:56 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org Original-X-From: ding-owner+M8673@lists.math.uh.edu Tue Apr 12 02:37:54 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DL9PD-0007Gm-4j for ding-account@gmane.org; Tue, 12 Apr 2005 02:37:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DL9R9-0002JN-00; Mon, 11 Apr 2005 19:39:27 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DL9R1-0002JH-00 for ding@lists.math.uh.edu; Mon, 11 Apr 2005 19:39:19 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DL9Qw-00038r-SA for ding@lists.math.uh.edu; Mon, 11 Apr 2005 19:39:15 -0500 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DL9Qv-0001az-00 for ; Tue, 12 Apr 2005 02:39:13 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.44) id 1DL9Qz-0001tt-I4; Mon, 11 Apr 2005 20:39:17 -0400 Original-To: Miles Bader X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:LHNw+oVpZBiT0h8ayFkiyIsmTbA= X-Hashcash: 1:20:050412:miles@gnu.org::MpbrtkCmVCcU4ULM:00006GOH X-Hashcash: 1:20:050412:ding@gnus.org::FqRtOMPq1T7xS3j7:00000EkW X-Hashcash: 1:20:050412:emacs-devel@gnu.org::HvSXlxtYKehfBbeC:0000000000000000000000000000000000000000005g++ X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60146 gmane.emacs.devel:35874 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60146 >>>>> In Katsumi Yamaoka wrote: > (let ((string (string-as-unibyte "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff")) > (buffer (get-buffer-create "*testing*"))) > (pop-to-buffer buffer) > (erase-buffer) > (set-buffer-multibyte t) > (insert (mm-string-to-multibyte string))) > The `string' have to be shown as `\370\371\372\373\374\375\376\377', > not as some *characters*. Sorry, that was not appropriate. Here's a new one. (let ((string "\214\352\227\245\346") (buffer (get-buffer-create "*testing*"))) (pop-to-buffer buffer) (erase-buffer) (set-buffer-multibyte t) (insert (mm-string-to-multibyte string)))