From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33917 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: \201 *waugh* Date: 28 Dec 2000 13:27:01 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2ng0j8z9je.fsf@tiger.jia.vnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035169935 27659 80.91.224.250 (21 Oct 2002 03:12:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:12:15 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id D7CADD049D for ; Thu, 28 Dec 2000 13:29:12 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id MAB00400; Thu, 28 Dec 2000 12:28:52 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 28 Dec 2000 12:26:55 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id MAA07755 for ; Thu, 28 Dec 2000 12:26:43 -0600 (CST) Original-Received: from zsh.yi.org (d185fc155.rochester.rr.com [24.95.193.85]) by mailhost.sclp.com (Postfix) with ESMTP id 7C939D049D for ; Thu, 28 Dec 2000 13:27:06 -0500 (EST) Original-Received: (from zsh@localhost) by zsh.yi.org (8.10.0/8.10.0) id eBSIR1m24525; Thu, 28 Dec 2000 13:27:01 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Original-Lines: 31 User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33917 Lars Magne Ingebrigtsen writes: > After upgrading to the latest cvs, nnwfm stopped working with Emacs > 20.6. Which is really weird, since nnwfm didn't change at all. > > Now -- I insert lots of stuff into a unibyte buffer. I then use > w3-parse on the stuff in the buffer. I then get strings like > > "aksje-\345r" > > Now, how on earth do I get that inserted back into a buffer, and why > did it stop working? > > (insert "aksje-\345r") > => aksje-år > > That's not what I want. I want something I can then run > decode-coding-region on, like in all other groups. When a unibyte string is inserted into a multibyte buffer, Emacs automatically converts 8-bit characters into iso8859-1 characters. To insert literally 8-bit characters, you have to use some tricks like (insert (string-as-multibyte "aksje-\345r")) XEmacs doesn't have string-as-multibyte, so we'd better define a compatible function mm-string-as-multibyte. Though you may see aksje-år in XEmacs buffer if you insert the string, it is OK. XEmacs people claim that XEmacs doesn't suffer the \201 problem. ShengHuo