* charset=X-UNKNOWN
@ 1999-09-19 5:06 Karl Eichwalder
1999-09-25 9:40 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Karl Eichwalder @ 1999-09-19 5:06 UTC (permalink / raw)
Pine users have the habit to send messages with such header lines:
MIME-Version: 1.0
Content-Type: text/plain; charset=X-UNKNOWN
Content-Transfer-Encoding: quoted-printable
But if you've a cloaser look at the message body, you'll notice that the
mail actually is written as:
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Unfortunately, Gnus obeys the original haeader lines and displays
special characters (umlauts, accented characters) in the backslashed
notation ;-(
It there an easy way to tell Emacs 20.4 with PGnus 0.95, to be a little
bit smarter (display 8bit as 8bit)?
[I hope, it's clear, what I want so say.]
--
work : ke@suse.de
Karl Eichwalder private: ke@gnu.franken.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-19 5:06 charset=X-UNKNOWN Karl Eichwalder
@ 1999-09-25 9:40 ` Lars Magne Ingebrigtsen
1999-09-25 13:51 ` charset=X-UNKNOWN Karl Eichwalder
1999-09-25 22:53 ` charset=X-UNKNOWN Shenghuo ZHU
0 siblings, 2 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-09-25 9:40 UTC (permalink / raw)
Karl Eichwalder <ke@gnu.franken.de> writes:
> Pine users have the habit to send messages with such header lines:
>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=X-UNKNOWN
> Content-Transfer-Encoding: quoted-printable
>
> But if you've a cloaser look at the message body, you'll notice that the
> mail actually is written as:
>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=iso-8859-1
You could define "x-unknown" as a synonym for "iso-8859-1" in
`mm-charset-synonym-alist'.
> Content-Transfer-Encoding: 8bit
>
> Unfortunately, Gnus obeys the original haeader lines and displays
> special characters (umlauts, accented characters) in the backslashed
> notation ;-(
>
> It there an easy way to tell Emacs 20.4 with PGnus 0.95, to be a little
> bit smarter (display 8bit as 8bit)?
But it can't possibly guess that a CTE that says that it is qp is
really something else.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-25 9:40 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
@ 1999-09-25 13:51 ` Karl Eichwalder
1999-09-25 22:53 ` charset=X-UNKNOWN Shenghuo ZHU
1 sibling, 0 replies; 7+ messages in thread
From: Karl Eichwalder @ 1999-09-25 13:51 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
| You could define "x-unknown" as a synonym for "iso-8859-1" in
| `mm-charset-synonym-alist'.
This works great so far -- I'm wondering about drawbacks ;)
| But it can't possibly guess that a CTE that says that it is qp is
| really something else.
Yes -- I fear I've to tell them all to use valid Mime headers, sigh...
Thanks for your answer!
--
work : ke@suse.de
Karl Eichwalder private: ke@gnu.franken.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-25 9:40 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
1999-09-25 13:51 ` charset=X-UNKNOWN Karl Eichwalder
@ 1999-09-25 22:53 ` Shenghuo ZHU
1999-09-26 6:15 ` charset=X-UNKNOWN Karl Eichwalder
1 sibling, 1 reply; 7+ messages in thread
From: Shenghuo ZHU @ 1999-09-25 22:53 UTC (permalink / raw)
>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
LMI> Karl Eichwalder <ke@gnu.franken.de> writes:
>> Pine users have the habit to send messages with such header lines:
>>
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=X-UNKNOWN
>> Content-Transfer-Encoding: quoted-printable
>>
>> But if you've a cloaser look at the message body, you'll notice that the
>> mail actually is written as:
>>
>> MIME-Version: 1.0
>> Content-Type: text/plain; charset=iso-8859-1
LMI> You could define "x-unknown" as a synonym for "iso-8859-1" in
LMI> `mm-charset-synonym-alist'.
It would be better to put 'x-unknown in `gnus-newsgroup-ignored-charsets'.
Let Gnus "guess" the actual charset.
(setq gnus-newsgroup-ignored-charsets (cons 'x-unknown
gnus-newsgroup-ignored-charsets))
--
Shenghuo ZHU
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-25 22:53 ` charset=X-UNKNOWN Shenghuo ZHU
@ 1999-09-26 6:15 ` Karl Eichwalder
1999-09-26 16:25 ` charset=X-UNKNOWN Shenghuo ZHU
0 siblings, 1 reply; 7+ messages in thread
From: Karl Eichwalder @ 1999-09-26 6:15 UTC (permalink / raw)
Cc: ding
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
| It would be better to put 'x-unknown in `gnus-newsgroup-ignored-charsets'.
| Let Gnus "guess" the actual charset.
|
| (setq gnus-newsgroup-ignored-charsets (cons 'x-unknown
| gnus-newsgroup-ignored-charsets))
This sounds good -- but when I tried it, Gnus hangs while reading the
active file. This works:
(eval-after-load "mm-util"
'(add-to-list 'mm-charset-synonym-alist
'(x-unknown . iso-8859-1)))
But your example or this one does not:
(eval-after-load "gnus-sum"
(setq gnus-newsgroup-ignored-charsets
(cons 'x-unknown gnus-newsgroup-ignored-charsets)))
--
work : ke@suse.de
Karl Eichwalder private: ke@gnu.franken.de
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-26 6:15 ` charset=X-UNKNOWN Karl Eichwalder
@ 1999-09-26 16:25 ` Shenghuo ZHU
1999-09-27 17:39 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Shenghuo ZHU @ 1999-09-26 16:25 UTC (permalink / raw)
>>>>> "KE" == Karl Eichwalder <ke@gnu.franken.de> writes:
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
| It would be better to put 'x-unknown in `gnus-newsgroup-ignored-charsets'.
| Let Gnus "guess" the actual charset.
|
| (setq gnus-newsgroup-ignored-charsets (cons 'x-unknown
| gnus-newsgroup-ignored-charsets))
KE> This sounds good -- but when I tried it, Gnus hangs while reading
KE> the active file. This works:
This is weird. There is no charset stuff in the active file, I guess.
KE> (eval-after-load "mm-util"
KE> '(add-to-list 'mm-charset-synonym-alist
KE> '(x-unknown . iso-8859-1)))
KE> But your example or this one does not:
KE> (eval-after-load "gnus-sum"
KE> (setq gnus-newsgroup-ignored-charsets
KE> (cons 'x-unknown gnus-newsgroup-ignored-charsets)))
I use
(setq gnus-newsgroup-ignored-charsets '(unknown-8bit x-unknown))
which works for me.
--
Shenghuo ZHU
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: charset=X-UNKNOWN
1999-09-26 16:25 ` charset=X-UNKNOWN Shenghuo ZHU
@ 1999-09-27 17:39 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-09-27 17:39 UTC (permalink / raw)
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> | (setq gnus-newsgroup-ignored-charsets (cons 'x-unknown
> | gnus-newsgroup-ignored-charsets))
I've now added x-unknown to the default value of this variable.
> KE> This sounds good -- but when I tried it, Gnus hangs while reading
> KE> the active file. This works:
>
> This is weird. There is no charset stuff in the active file, I guess.
I didn't think so either...
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-09-27 17:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-19 5:06 charset=X-UNKNOWN Karl Eichwalder
1999-09-25 9:40 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
1999-09-25 13:51 ` charset=X-UNKNOWN Karl Eichwalder
1999-09-25 22:53 ` charset=X-UNKNOWN Shenghuo ZHU
1999-09-26 6:15 ` charset=X-UNKNOWN Karl Eichwalder
1999-09-26 16:25 ` charset=X-UNKNOWN Shenghuo ZHU
1999-09-27 17:39 ` charset=X-UNKNOWN Lars Magne Ingebrigtsen
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).