From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: Debugger entered--Lisp error: (error "Can't rfc2047-encode `espa\x00f1ol \302\241Mira qui\x00e9n'")
Date: Fri, 22 Dec 2006 13:32:27 +0900 [thread overview]
Message-ID: <b4m3b78o8is.fsf@jpl.org> (raw)
In-Reply-To: <b4mhcvo3i66.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
>>>>> In <b4mhcvo3i66.fsf@jpl.org> Katsumi Yamaoka wrote:
> Could you let me know the url you subscribe to for the nnrss:eltiempo
> group?
I found that the url is <http://www.eltiempo.com/rss.xml>. Is
it right? Though the article in question seems to have been
expired unfortunately.
> I'd like to trace what Emacs 23 does, because I suspect Gnus breaks
> the xml contents due to the unexpected unibyte-multibyte conversion
> with Emacs 23.
Although I've never had the problem so far, the patch attached
below might do the trick if my guess hits.
> BTW, the following workaround might help temporarily.
> (defadvice mm-find-mime-charset-region (after delete-nil-elements activate)
Please don't use this workaround if you are going to try the
patch at the time when you encounter a similar problem.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnrss.el.patch --]
[-- Type: text/x-patch, Size: 549 bytes --]
--- nnrss.el~ 2006-05-23 14:47:29 +0000
+++ nnrss.el 2006-12-22 04:29:51 +0000
@@ -418,8 +418,10 @@
(nnheader-remove-cr-followed-by-lf)
;; Decode text according to the encoding attribute.
(when (setq cs (nnrss-get-encoding))
- (mm-decode-coding-region (point-min) (point-max) cs)
- (mm-enable-multibyte))
+ (insert (prog1
+ (mm-decode-coding-string (buffer-string) cs)
+ (erase-buffer)
+ (mm-enable-multibyte))))
(goto-char (point-min))
;; Because xml-parse-region can't deal with anything that isn't
next prev parent reply other threads:[~2006-12-22 4:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-21 10:08 Jhair Tocancipa Triana
2006-12-21 16:21 ` Reiner Steib
2006-12-22 0:09 ` Katsumi Yamaoka
2006-12-22 4:32 ` Katsumi Yamaoka [this message]
2006-12-22 6:57 ` Katsumi Yamaoka
2006-12-22 11:03 ` Jhair Tocancipa Triana
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=b4m3b78o8is.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).