* Changing charset for posting news
@ 2005-07-11 22:10 David Sumbler
2005-07-11 22:42 ` David Sumbler
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: David Sumbler @ 2005-07-11 22:10 UTC (permalink / raw)
Although it has not caused a problem until recently, my use of UTF-8
and "quoted printable" has caused problems in a newsgroup which I
recently started using. Basically, I have been told in no uncertain
terms to avoid them.
However, I am unclear how to change this, although I have read section
3.19 of the Gnus Manual.
How do I ensure that, when posting news, my messages are sent in
ISO-8859-1, and avoid "quoted printable"?
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-11 22:10 Changing charset for posting news David Sumbler
@ 2005-07-11 22:42 ` David Sumbler
2005-07-11 23:45 ` Aidan Kehoe
2005-07-12 18:31 ` Ted Zlatanov
2 siblings, 0 replies; 8+ messages in thread
From: David Sumbler @ 2005-07-11 22:42 UTC (permalink / raw)
David Sumbler <david@nospam.co.uk> writes:
> Although it has not caused a problem until recently, my use of UTF-8
> and "quoted printable" has caused problems in a newsgroup which I
> recently started using. Basically, I have been told in no uncertain
> terms to avoid them.
>
> However, I am unclear how to change this, although I have read section
> 3.19 of the Gnus Manual.
>
> How do I ensure that, when posting news, my messages are sent in
> ISO-8859-1, and avoid "quoted printable"?
I should perhaps have added that the problem arises when using French
characters, e.g. « à é ç ». When I write using just standard English
characters, Gnus/Emacs sends it as "Content-Type: text/plain;
charset=us-ascii"
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-11 22:10 Changing charset for posting news David Sumbler
2005-07-11 22:42 ` David Sumbler
@ 2005-07-11 23:45 ` Aidan Kehoe
2005-07-12 10:45 ` David Sumbler
2005-07-12 18:31 ` Ted Zlatanov
2 siblings, 1 reply; 8+ messages in thread
From: Aidan Kehoe @ 2005-07-11 23:45 UTC (permalink / raw)
Ar an t-aonú lá déag de mí Iúil, scríobh David Sumbler:
> [...] How do I ensure that, when posting news, my messages are sent in
> ISO-8859-1, and avoid "quoted printable"?
In the general case, you can’t do this without losing data. If you write
exclusively English, this should work, though it hasn’t been tested;
(setq mm-coding-system-priorities '(iso-8859-1))
(add-to-list 'mm-body-charset-encoding-alist
'(iso-8859-1 . 8bit))
--
Russian has no phoneme that corresponds directly to Germanic /h/. As a
result, for a not-insignificant number of people, the Second World War
involved the Soviet Union defeating Адольф Гитлер, “Adolf Gitler.”
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-11 23:45 ` Aidan Kehoe
@ 2005-07-12 10:45 ` David Sumbler
0 siblings, 0 replies; 8+ messages in thread
From: David Sumbler @ 2005-07-12 10:45 UTC (permalink / raw)
Aidan Kehoe <kehoea@parhasard.net> writes:
> Ar an t-aonú lá déag de mí Iúil, scríobh David Sumbler:
>
> > [...] How do I ensure that, when posting news, my messages are sent in
> > ISO-8859-1, and avoid "quoted printable"?
>
> In the general case, you can’t do this without losing data. If you write
> exclusively English, this should work, though it hasn’t been tested;
>
> (setq mm-coding-system-priorities '(iso-8859-1))
> (add-to-list 'mm-body-charset-encoding-alist
> '(iso-8859-1 . 8bit))
Thanks - I've added that to my .gnus file, and it seems to work. I
write in English and, sometimes, French, so this is fine.
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-11 22:10 Changing charset for posting news David Sumbler
2005-07-11 22:42 ` David Sumbler
2005-07-11 23:45 ` Aidan Kehoe
@ 2005-07-12 18:31 ` Ted Zlatanov
2005-07-12 21:12 ` David Sumbler
2 siblings, 1 reply; 8+ messages in thread
From: Ted Zlatanov @ 2005-07-12 18:31 UTC (permalink / raw)
On Mon, 11 Jul 2005, david@nospam.co.uk wrote:
> Although it has not caused a problem until recently, my use of UTF-8
> and "quoted printable" has caused problems in a newsgroup which I
> recently started using. Basically, I have been told in no uncertain
> terms to avoid them.
>
> However, I am unclear how to change this, although I have read section
> 3.19 of the Gnus Manual.
>
> How do I ensure that, when posting news, my messages are sent in
> ISO-8859-1, and avoid "quoted printable"?
You can test this on a private group - no need to send test messages
to the 'troubled' newsgroup (UTF-8 is here to stay :)
Hit `G c' on the group that you want to customize. Set the preferred
charset to iso-8859-1. Save. That should do it. The Gnus manual
should have more information on this - I don't use it myself, so the
manual is the authoritative source.
The advice you were given to use iso-8859-1 globally will work, but
it's not necessary when you can override the posting charset only for
a specific group.
Ted
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-12 18:31 ` Ted Zlatanov
@ 2005-07-12 21:12 ` David Sumbler
2005-07-12 23:23 ` Aidan Kehoe
2005-07-13 15:23 ` Ted Zlatanov
0 siblings, 2 replies; 8+ messages in thread
From: David Sumbler @ 2005-07-12 21:12 UTC (permalink / raw)
Ted Zlatanov <tzz@lifelogs.com> writes:
> On Mon, 11 Jul 2005, david@nospam.co.uk wrote:
>
>> Although it has not caused a problem until recently, my use of UTF-8
>> and "quoted printable" has caused problems in a newsgroup which I
>> recently started using. Basically, I have been told in no uncertain
>> terms to avoid them.
>>
>> However, I am unclear how to change this, although I have read section
>> 3.19 of the Gnus Manual.
>>
>> How do I ensure that, when posting news, my messages are sent in
>> ISO-8859-1, and avoid "quoted printable"?
>
> You can test this on a private group - no need to send test messages
> to the 'troubled' newsgroup (UTF-8 is here to stay :)
>
> Hit `G c' on the group that you want to customize. Set the preferred
> charset to iso-8859-1. Save. That should do it. The Gnus manual
> should have more information on this - I don't use it myself, so the
> manual is the authoritative source.
Strange: I have tried this, having commented out in .gnus the lines
suggested by Aidan, and it doesn't work! Despite having specified
iso-8859-1, as you suggest, messages I send to the fr.test group still
are sent as UTF-8 and quoted printable.
David
--
David Sumbler
Please reply with a followup to the newsgroup.
However, if you _really_ want to send me an e-mail,
replace "nospam" in my address with "aeolia".
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-12 21:12 ` David Sumbler
@ 2005-07-12 23:23 ` Aidan Kehoe
2005-07-13 15:23 ` Ted Zlatanov
1 sibling, 0 replies; 8+ messages in thread
From: Aidan Kehoe @ 2005-07-12 23:23 UTC (permalink / raw)
Ar an dara lá déag de mí Iúil, scríobh David Sumbler:
> > Hit `G c' on the group that you want to customize. Set the preferred
> > charset to iso-8859-1. Save. That should do it. The Gnus manual
> > should have more information on this - I don't use it myself, so the
> > manual is the authoritative source.
>
> Strange: I have tried this, having commented out in .gnus the lines
> suggested by Aidan, and it doesn't work! Despite having specified
> iso-8859-1, as you suggest, messages I send to the fr.test group still
> are sent as UTF-8 and quoted printable.
That’s a bug that some changes I made tickled, according to this mail:
http://list-archive.xemacs.org/xemacs-beta/200505/msg00121.html
But I’ve looked into this some more, and, well, the design of that code is
hugely broken--loads of programming using and endorsing underdocumented
dynamic binding, crazy return values--and I haven’t seen an example where
setting mm-coding-system-priorities appropriately is broken. I’ll put
together a patch removing support for newsgroup-specific character sets if
this sounds reasonable.
If not, I’ll look into adding support for binding message-posting-charset
around calls to mm-find-charset-region, which should re-add support for the
charset-per-newsgroup approach.
--
Russian has no phoneme that corresponds directly to Germanic /h/. As a
result, for a not-insignificant number of people, the Second World War
involved the Soviet Union defeating Адольф Гитлер, “Adolf Gitler.”
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Changing charset for posting news
2005-07-12 21:12 ` David Sumbler
2005-07-12 23:23 ` Aidan Kehoe
@ 2005-07-13 15:23 ` Ted Zlatanov
1 sibling, 0 replies; 8+ messages in thread
From: Ted Zlatanov @ 2005-07-13 15:23 UTC (permalink / raw)
On Tue, 12 Jul 2005, david@nospam.co.uk wrote:
> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> Hit `G c' on the group that you want to customize. Set the preferred
>> charset to iso-8859-1. Save. That should do it. The Gnus manual
>> should have more information on this - I don't use it myself, so the
>> manual is the authoritative source.
>
> Strange: I have tried this, having commented out in .gnus the lines
> suggested by Aidan, and it doesn't work! Despite having specified
> iso-8859-1, as you suggest, messages I send to the fr.test group still
> are sent as UTF-8 and quoted printable.
That's strange. I wonder if it's a bug or just a feature that was
never implemented. Does anyone know? If not, I'll look into it when
I get a chance.
Ted
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-13 15:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 22:10 Changing charset for posting news David Sumbler
2005-07-11 22:42 ` David Sumbler
2005-07-11 23:45 ` Aidan Kehoe
2005-07-12 10:45 ` David Sumbler
2005-07-12 18:31 ` Ted Zlatanov
2005-07-12 21:12 ` David Sumbler
2005-07-12 23:23 ` Aidan Kehoe
2005-07-13 15:23 ` Ted Zlatanov
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).