From: Pavel@Janik.cz (Pavel Janík)
Subject: Re: multiple charsets handling in gnus
Date: Wed, 12 Sep 2001 21:13:36 +0200 [thread overview]
Message-ID: <m3wv34xlwf.fsf@SnowWhite.SuSE.cz> (raw)
In-Reply-To: <m3u1ybzesq.fsf@SnowWhite.SuSE.cz> (Pavel@Janik.cz's message of "Mon, 10 Sep 2001 09:27:17 +0200")
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
From: Pavel@Janik.cz (Pavel Janík)
Date: Mon, 10 Sep 2001 09:27:17 +0200
> > * Near the end of my ~/.gnus, I inserted the following lines:
> > (require 'mm-util)
> > (add-to-list 'mm-charset-synonym-alist '(windows-1251 . cp1251))
>
> What about adding this to Gnus directly? There is already this code:
>
> ,(unless (mm-coding-system-p 'windows-1252) ; should be defined eventually
> '(windows-1252 . iso-8859-1))
>
> so we can extend this to have also 1251 together with 1250. I too have this
> in my ~/.gnus to be able to read e-mails written on Windows:
>
> ;; Support for Windows-1250
> (require 'mm-util)
> (add-to-list 'mm-charset-synonym-alist '(windows-1250 . cp1250))
>
> I hope that I'll be able to remove that from my .gnus soon :-)
Please apply the following patch. I thing Kai will immediately send his
one ;-)
2001-09-12 Pavel Janík <Pavel@Janik.cz>
* mm-util.el (mm-charset-synonym-alist): add windows-1250 so we
can read e-mails from Microsoft Outlook users not using ISO
8859-2 character set.
[-- Attachment #2: gnus-windows-1250.diff --]
[-- Type: text/x-patch, Size: 1221 bytes --]
diff -ur gnus.orig/lisp/ChangeLog gnus/lisp/ChangeLog
--- gnus.orig/lisp/ChangeLog Wed Sep 12 20:57:00 2001
+++ gnus/lisp/ChangeLog Wed Sep 12 21:11:36 2001
@@ -1,3 +1,9 @@
+2001-09-12 Pavel Janík <Pavel@Janik.cz>
+
+ * mm-util.el (mm-charset-synonym-alist): add windows-1250 so we
+ can read e-mails from Microsoft Outlook users not using ISO
+ 8859-2 character set.
+
2001-09-12 Didier Verna <didier@xemacs.org>
* nndiary.el: new version (0.2-b13).
diff -ur gnus.orig/lisp/mm-util.el gnus/lisp/mm-util.el
--- gnus.orig/lisp/mm-util.el Wed Sep 12 20:57:00 2001
+++ gnus/lisp/mm-util.el Wed Sep 12 21:09:59 2001
@@ -166,6 +166,11 @@
;; `gnus-article-dumbquotes-map'.
,(unless (mm-coding-system-p 'windows-1252) ; should be defined eventually
'(windows-1252 . iso-8859-1))
+ ;; Windows-1250 is a variant of Latin-2 heavily used by Microsoft
+ ;; Outlook users in Czech republic. Use this to allow reading of their
+ ;; e-mails. cp1250 should be defined by M-x codepage-setup.
+ ,(unless (mm-coding-system-p 'windows-1250) ; should be defined eventually
+ '(windows-1250 . cp1250))
(x-ctext . ctext))
"A mapping from invalid charset names to the real charset names.")
[-- Attachment #3: Type: text/plain, Size: 170 bytes --]
--
Pavel Janík
When you're in a fight with an idiot, it's difficult for other people to tell
which one the idiot is.
-- Bruce Perens on debian-devel
next prev parent reply other threads:[~2001-09-12 19:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-10 7:27 Pavel Janík
2001-09-12 19:13 ` Pavel Janík [this message]
2001-09-13 0:14 ` ShengHuo ZHU
-- strict thread matches above, loose matches on Subject: below --
2001-09-07 17:39 Alexander Kotelnikov
2001-09-07 19:19 ` Kai Großjohann
2001-09-07 21:00 ` Alexander Kotelnikov
2001-09-07 21:47 ` Kai Großjohann
2001-09-07 21:56 ` Alexander Kotelnikov
2001-09-07 23:17 ` Kai Großjohann
2001-09-07 23:30 ` Alexander Kotelnikov
2001-09-08 10:59 ` Kai Großjohann
2001-09-08 11:06 ` Kai Großjohann
2001-09-08 21:04 ` Alexander Kotelnikov
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=m3wv34xlwf.fsf@SnowWhite.SuSE.cz \
--to=pavel@janik.cz \
/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).