all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Encoding/decoding problems
Date: Thu, 28 Jul 2011 05:01:55 -0400	[thread overview]
Message-ID: <E1QmMTb-0000Dh-4N@fencepost.gnu.org> (raw)
In-Reply-To: <4E311B3C.7040301@dogan.se> (message from Deniz Dogan on Thu, 28 Jul 2011 10:18:04 +0200)

> Date: Thu, 28 Jul 2011 10:18:04 +0200
> From: Deniz Dogan <deniz@dogan.se>
> 
> 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).



  reply	other threads:[~2011-07-28  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28  8:18 Encoding/decoding problems Deniz Dogan
2011-07-28  9:01 ` Eli Zaretskii [this message]
2011-07-28  9:26   ` Deniz Dogan
2011-07-28 10:01     ` Jambunathan K
2011-07-28 12:18     ` Eli Zaretskii
2011-07-28 12:23       ` Deniz Dogan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1QmMTb-0000Dh-4N@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.