From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Encoding/decoding problems Date: Thu, 28 Jul 2011 05:01:55 -0400 Message-ID: References: <4E311B3C.7040301@dogan.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1311843726 17459 80.91.229.12 (28 Jul 2011 09:02:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 09:02:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 11:02:02 2011 Return-path: Envelope-to: geh-help-gnu-emacs@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 1QmMTi-0001l2-02 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2011 11:02:02 +0200 Original-Received: from localhost ([::1]:42607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmMTh-0007xd-91 for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Jul 2011 05:02:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmMTd-0007xJ-85 for help-gnu-emacs@gnu.org; Thu, 28 Jul 2011 05:01:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmMTb-0003OE-Pb for help-gnu-emacs@gnu.org; Thu, 28 Jul 2011 05:01:57 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:50491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmMTb-0003OA-L5 for help-gnu-emacs@gnu.org; Thu, 28 Jul 2011 05:01:55 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QmMTb-0000Dh-4N for help-gnu-emacs@gnu.org; Thu, 28 Jul 2011 05:01:55 -0400 In-reply-to: <4E311B3C.7040301@dogan.se> (message from Deniz Dogan on Thu, 28 Jul 2011 10:18:04 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81835 Archived-At: > Date: Thu, 28 Jul 2011 10:18:04 +0200 > From: Deniz Dogan > > I'm fetching an XML document that's uses iso-8859-1 coding with > `url-retrieve' and then I parse it using `xml-parse-region'. > > After that, I get the parts of the document that I want and insert them > into a buffer. However, the Swedish characters å, ä and ö are displayed > as \345, \344 and \326 respectively. > > I've tried messing around with `encode-coding-region' and > `decode-coding-region' but I'm really not sure what to do here. I suggest to start with describing a reproducible recipe for this problem. Not sure if this forum is appropriate, perhaps emacs-devel is a better place (as it sounds like you are describing a bug).