From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: How to force charset iso-8859-1 when posting?
Date: Fri, 26 Sep 2008 17:59:16 +0200 [thread overview]
Message-ID: <87ljxej3u3.fsf@dod.no> (raw)
In-Reply-To: <87d4itp9po.fsf@marauder.physik.uni-ulm.de>
>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:
> On Tue, Sep 23 2008, Steinar Bang wrote:
>> Platform: Ubuntu 8.04, Intel Pentium M
>> GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-05-03 on terranova, modified by Ubuntu
>> No Gnus v0.11 (recent CVS update)
>>
>> For some reason Gnus have decided to post with utf-8.
> Did you change your locale settings?
Not intentionally, but perhaps Ubuntu has decided to do it for meg. I
don't have a time frame from when this happened.
Hm... but I think you've put the finger on the problem. In my ~/.bashrc
I do this:
# My own specific changes
# Norwegian/Swedish/Danish error messages from make, linkers and compilers
# are really confusing!
unset LANG
unset LANGUAGE
unset LANGUAGES
So when I do "env" from a command line I get nothing interesting.
However when I do `M-! env RET' I find
LANG=en_US.UTF-8
So emacsen started from the menus don't get those environment changes.
Is there a way to override this setting from inside emacs?
Will
(setenv "LANG" nil)
work, I wonder...?
Or is there a tidier lispish solution that tells Gnus to ignore the
locale?
> Does setting mm-coding-system-priorities globally work?
I haven't tried yet. I will.
>> So... is there a working way to force the charset when posting, for a
>> group or set of groups?
> I once added such an example to (info "(emacs-mime)Encoding
> Customization"), but Katsumi Yamaoka pointed out some
> problems/limitations:
> <http://thread.gmane.org/gmane.emacs.gnus.general/63762>
I'll study the thread closely. It appears similar to what I tried (and
failed) to do with gnus-parameters...?
> On Wed, Sep 24 2008, Steinar Bang wrote:
>> I've now tried the following in ~/.gnus.el
>> (setq message-default-charset 'iso-8859-1)
>> But that didn't work either. Gnus still posts with utf-8.
> Hardly surprising: "Default charset used in non-MULE Emacsen."
Indeed. It was a shot in the dark.
Thanx!
next prev parent reply other threads:[~2008-09-26 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-23 17:59 Steinar Bang
2008-09-24 18:33 ` Steinar Bang
2008-09-24 20:31 ` Reiner Steib
2008-09-26 15:59 ` Steinar Bang [this message]
2008-09-26 21:24 ` Reiner Steib
2008-09-27 8:53 ` Steinar Bang
2008-09-28 14:33 ` Steinar Bang
2008-09-28 14:41 ` Steinar Bang
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=87ljxej3u3.fsf@dod.no \
--to=sb@dod.no \
--cc=ding@gnus.org \
/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).