[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with this article with all the \XXX
From: |
Reiner Steib |
Subject: |
Re: Help with this article with all the \XXX |
Date: |
Thu, 28 Sep 2006 18:24:36 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Thu, Sep 28 2006, Pascal Bourguignon wrote:
> Passer By <sender@sender.send> writes:
>> Does everyone see how there are all these \222 \223 \224 etc
No, because the current Gnus development version (the next release
will have it too) has `mm-charset-override-alist'
,----[ <f1> v mm-charset-override-alist RET ]
| mm-charset-override-alist is a variable defined in `mm-util'.
| Its value is
| ((iso-8859-1 . windows-1252))
|
| Documentation:
| A mapping from undesired charset names to their replacement.
|
| You may add pairs like (iso-8859-1 . windows-1252) here,
| i.e. treat iso-8859-1 as windows-1252. windows-1252 is a
| superset of iso-8859-1.
|
| You can customize this variable.
`----
(As Emacs 21 doesn't support windows-1252, users of Emacs may look at
<http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/misc/rs-ucs-coding-system.el>).
>> how do i get them to look like the normal ',", etc. chars
| User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
In Gnus 5.9, you may use `W d':
,----[ (info "(gnus)Article Washing") ]
| `W d'
| Treat M****s*** sm*rtq**t*s according to
| `gnus-article-dumbquotes-map' (`gnus-article-treat-dumbquotes').
| Note that this function guesses whether a character is a
| sm*rtq**t* or not, so it should only be used interactively.
|
| Sm*rtq**t*s are M****s***'s unilateral extension to the character
| map in an attempt to provide more quoting characters. If you see
| something like `\222' or `\264' where you're expecting some kind of
| apostrophe or quotation mark, then try this wash.
`----
> Which they are not.
>
> ' is \047, not \222
> " is \042, not \223
>
> \222 is ’
> \223 is “
> \224 is ”
Maybe you need to add entries to `gnus-article-dumbquotes-map' as
well; I don't know if these were included in 5.9.
> The problem comes from the sender who indicates the wrong encoding for
> their characters. Notably, from MS-Windows programs who announce
> ISO-8859-1 encoding when they include WINDOWS-1252 characters.
You're right:
>> news:10vih2p0prbvpm5jv99rkpfnlji4jpc2vs@4ax.com
==> Content-Type: text/plain; charset=ISO-8859-1
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/