From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: article editing oddity
Date: 15 Nov 1999 16:23:01 -0500 [thread overview]
Message-ID: <5b1z9rlaa2.fsf@giga.cs.rochester.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "15 Nov 1999 21:51:28 +0100"
>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
LMI> Vladimir Volovich <vvv@vvv.vsu.ru> writes:
>> i've got a message which was in windows-1251 encoding, but
>> Content-Type header said that it was in koi8-r, so the message was
>> unreadable.
>>
>> I pressed C-u g e, and changed "charset=koi8-r" to
>> "charset=windows-1251" in the Content-Type header.
>>
>> Then i pressed C-c C-c
>>
>> But the saved article still contained "charset=koi8-r" !
LMI> Uhm. `C-c C-c' after editing the message will create brand new
LMI> Content-Type headers. And since Gnus thought that the text was
LMI> koi8-r, Gnus put that in the new header.
How about not rebuilding headers if the article is shown by `C-u g'?
Or not reuilding headers when check in by `C-u C-c C-c'?
LMI> *sigh*
LMI> Anyway, `C-u W M c' will let you re-interpret the message using a
LMI> different charset.
[...]
I don't think this works, unless press `C-u g C-u W M c', since it
washes an article in the article buffer, where characters have been
decoded by (wrong) charset, then the result is double-decoded,
i.e. `\201's shows.
Even `C-u g C-u W M c' does not decode subject and other headers.
*sigh*
My unofficial solution is advicing gnus-summary-show-article. When
number argument comes, pick a charset from predefined charsets or
minibuffer, set gnus-newsgroup-charset and
gnus-newsgroup-ignored-charsets, then ad-do-it.
If this solution is acceptable, I can patch the
gnus-summary-show-article, and maybe a little work let gnus ignored
all charsets.
--
Shenghuo ZHU
next prev parent reply other threads:[~1999-11-15 21:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-12 8:39 Vladimir Volovich
1999-11-15 20:51 ` Lars Magne Ingebrigtsen
1999-11-15 21:23 ` Shenghuo ZHU [this message]
1999-12-01 14:37 ` Lars Magne Ingebrigtsen
1999-12-01 18:30 ` FAQ: show an article with a specified charset (was: Re: article editing oddity) Shenghuo ZHU
1999-12-01 23:00 ` Lars Magne Ingebrigtsen
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=5b1z9rlaa2.fsf@giga.cs.rochester.edu \
--to=zsh@cs.rochester.edu \
/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).