From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: nnrss strips Unicode
Date: Thu, 21 Feb 2008 08:24:37 +0900 [thread overview]
Message-ID: <b4m7igzgqiy.fsf@jpl.org> (raw)
In-Reply-To: <87y79f1hl5.fsf@jidanni.org>
>>>>> jidanni@jidanni.org wrote:
> In http://pinyin.info/news/2008/critique-of-proposed-guidelines-for-writing-taiwan-place-names/#comment-378523
> I complain that Unicode #8217 got stripped.
> And what stripped it was nnrss.el, as you can see if you read the
> article via RSS via http://pinyin.info/news/feed/ .
You seem to use Emacs 22.x, or the old Emacs CVS that has not
merged the Unicode-2 branch yet. If so, the problem is due to
the function `mm-char-or-char-int-p' that the function
`mm-url-decode-entities' uses. This form returns SPC in your
system, doesn't it?
(with-temp-buffer
(insert "’")
(mm-url-decode-entities)
(buffer-string))
There seems to be no easy solution for Emacs 22 but I can offer
a workaround:
(eval-after-load "mm-url"
'(progn
(require 'w3m)
(defalias 'mm-url-decode-entities 'w3m-decode-entities)))
Regards,
next prev parent reply other threads:[~2008-02-20 23:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 20:46 jidanni
2008-02-20 23:24 ` Katsumi Yamaoka [this message]
2008-02-23 2:30 ` jidanni
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=b4m7igzgqiy.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).