Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: Invalid characters, or something else?
Date: Sun, 17 Oct 2010 15:17:41 +0200	[thread overview]
Message-ID: <m3y69xc616.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <m339s5dl2q.fsf@quimbies.gnus.org>

Gnus does have this already:

(defvar gnus-article-dumbquotes-map
  '(("\200" "EUR")
    ("\202" ",")
    ("\203" "f")
    ("\204" ",,")
    ("\205" "...")
    ("\213" "<")
    ("\214" "OE")
    ("\221" "`")
    ("\222" "'")
    ("\223" "``")
    ("\224" "\"")
    ("\225" "*")
    ("\226" "-")
    ("\227" "--")
    ("\230" "~")
    ("\231" "(TM)")
    ("\233" ">")
    ("\234" "oe")
    ("\264" "'"))
  "Table for MS-to-Latin1 translation.")

But it doesn't quite work, because the text from Gwene has

\302\227

instead of just

\227

So this could probably be fixed pretty easily on the Gwene side, but it
should map the smartquotes to Unicode characters, not ASCII.  Anybody
have such a table?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-10-17 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-17  0:05 Lars Magne Ingebrigtsen
2010-10-17  0:20 ` Russ Allbery
2010-10-17 13:07   ` Lars Magne Ingebrigtsen
2010-10-17 13:17     ` Lars Magne Ingebrigtsen [this message]
2010-10-17 13:22       ` Lars Magne Ingebrigtsen
2010-10-17 13:34         ` Lars Magne Ingebrigtsen
2010-10-17 17:57           ` Lars Magne Ingebrigtsen
2010-10-17 21:34           ` James Cloos
2010-10-17 21:33       ` James Cloos
2010-10-18  6:11         ` Reiner Steib
2010-10-18 18:32         ` Lars Magne Ingebrigtsen
2010-10-17 21:30   ` Kevin Ryde

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=m3y69xc616.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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).