Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Help with this article with all the \XXX
@ 2006-09-28 14:32 Passer By
  2006-09-28 14:41 ` Pascal Bourguignon
  0 siblings, 1 reply; 7+ messages in thread
From: Passer By @ 2006-09-28 14:32 UTC (permalink / raw)





news:10vih2p0prbvpm5jv99rkpfnlji4jpc2vs@4ax.com

Does everyone see how there are all these \222 \223 \224 etc

how do i get them to look like the normal ',", etc. chars

Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 14:32 Help with this article with all the \XXX Passer By
@ 2006-09-28 14:41 ` Pascal Bourguignon
  2006-09-28 16:24   ` Reiner Steib
  2006-09-28 16:26   ` William F Hammond
  0 siblings, 2 replies; 7+ messages in thread
From: Pascal Bourguignon @ 2006-09-28 14:41 UTC (permalink / raw)


Passer By <sender@sender.send> writes:

> news:10vih2p0prbvpm5jv99rkpfnlji4jpc2vs@4ax.com
>
> Does everyone see how there are all these \222 \223 \224 etc
>
> how do i get them to look like the normal ',", etc. chars

Which they are not.

' is \047, not \222
" is \042, not \223

\222 is ’
\223 is “
\224 is ” 


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 should complain to the senders and they  should fill a bug report
with their software vendor.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

HEALTH WARNING: Care should be taken when lifting this product,
since its mass, and thus its weight, is dependent on its velocity
relative to the user.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 14:41 ` Pascal Bourguignon
@ 2006-09-28 16:24   ` Reiner Steib
  2006-09-28 17:31     ` Passer By
  2006-09-28 16:26   ` William F Hammond
  1 sibling, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2006-09-28 16:24 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 14:41 ` Pascal Bourguignon
  2006-09-28 16:24   ` Reiner Steib
@ 2006-09-28 16:26   ` William F Hammond
  2006-09-28 18:44     ` Reiner Steib
  2006-11-09 11:17     ` Mark Triggs
  1 sibling, 2 replies; 7+ messages in thread
From: William F Hammond @ 2006-09-28 16:26 UTC (permalink / raw)


Pascal Bourguignon <pjb@informatimago.com> writes:

> Passer By <sender@sender.send> writes:
> ...
>> Does everyone see how there are all these \222 \223 \224 etc
>> how do i get them to look like the normal ',", etc. chars
>
> ...
> 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.

There are times when I'm helped by washing.  In a group Summary
buffer see the menu "Article->Washing".  For example, W Y f

                                    -- Bill

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 16:24   ` Reiner Steib
@ 2006-09-28 17:31     ` Passer By
  0 siblings, 0 replies; 7+ messages in thread
From: Passer By @ 2006-09-28 17:31 UTC (permalink / raw)


Reiner Steib <reinersteib+gmane@imap.cc> writes:

> 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'
> 

that will be an interesting little thing for my gnus. I am kinda a
wuss for new releases, so i will be patient. The "W d" (must...resist
temptation ... to say .... ahhh ... 40!) Seems to work Okey.

Thanks for the help.

(insert gnus-version)Gnus v5.9.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 16:26   ` William F Hammond
@ 2006-09-28 18:44     ` Reiner Steib
  2006-11-09 11:17     ` Mark Triggs
  1 sibling, 0 replies; 7+ messages in thread
From: Reiner Steib @ 2006-09-28 18:44 UTC (permalink / raw)


On Thu, Sep 28 2006, William F Hammond wrote:

> There are times when I'm helped by washing.  In a group Summary
> buffer see the menu "Article->Washing".  For example, W Y f

The commands in <Article> <Washing> <(Outlook) Deuglify> are useful,
but they don't do anything WRT the coding.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Help with this article with all the \XXX
  2006-09-28 16:26   ` William F Hammond
  2006-09-28 18:44     ` Reiner Steib
@ 2006-11-09 11:17     ` Mark Triggs
  1 sibling, 0 replies; 7+ messages in thread
From: Mark Triggs @ 2006-11-09 11:17 UTC (permalink / raw)


William F Hammond <hammond@csc.albany.edu> writes:

> Pascal Bourguignon <pjb@informatimago.com> writes:
>
>> Passer By <sender@sender.send> writes:
>> ...
>>> Does everyone see how there are all these \222 \223 \224 etc
>>> how do i get them to look like the normal ',", etc. chars
>>
>> ...
>> 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.
>
> There are times when I'm helped by washing.  In a group Summary
> buffer see the menu "Article->Washing".  For example, W Y f

Resurrecting quite an old thread there, but I think W d
(`gnus-article-treat-dumbquotes') does the trick in this case.

Cheers,

Mark

-- 
Mark Triggs
<mst@dishevelled.net>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-09 11:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-28 14:32 Help with this article with all the \XXX Passer By
2006-09-28 14:41 ` Pascal Bourguignon
2006-09-28 16:24   ` Reiner Steib
2006-09-28 17:31     ` Passer By
2006-09-28 16:26   ` William F Hammond
2006-09-28 18:44     ` Reiner Steib
2006-11-09 11:17     ` Mark Triggs

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).