info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to send UTF-8 encoded messages with Gnus ?


From: David Kastrup
Subject: Re: How to send UTF-8 encoded messages with Gnus ?
Date: Thu, 22 May 2008 19:00:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

[Superseded because of a copy&paste error]
wahjava@gmail.com (Ashish Shukla आशीष शुक्ल) writes:

> Hi,
>
> I'm using Gnus/5.13 in Emacs/23.0.60.1 in Gentoo GNU/Linux. My 'LANG'
> environment variable is set to 'C' . And I've following line in my
> ~/.gnus:
>
> (setq gnus-default-charset 'utf-8)
>
> My .signature file contains some UTF-8 encoded text. Now, when I post
> From Emacs running in X, my messages were sent as UTF-8 encoded,
> whereas when I sent from Emacs running in xterm, all my messages were
> sent as ISO-8859-1 encoded. Any ideas, what is wrong ?

Huh?  The variable documentation clearly states

gnus-default-charset is a variable defined in `gnus.el'.
Its value is undecided

Documentation:
Default charset assumed to be used when viewing non-ASCII characters.
This variable is overridden on a group-to-group basis by the
`gnus-group-charset-alist' variable and is only used on groups not
covered by that variable.

You can customize this variable.

[back]

Namely: this variable is just for viewing things, not posting them.
What you might want to use instead is

[correction of previous posting follows:]

mm-coding-system-priorities is a variable defined in `mm-util.el'.
Its value is 
(iso-8859-1 iso-8859-15 utf-8)


Documentation:
Preferred coding systems for encoding outgoing messages.

More than one suitable coding system may be found for some text.
By default, the coding system with the highest priority is used
to encode outgoing messages (see `sort-coding-systems').  If this
variable is set, it overrides the default priority.

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 21.2 of Emacs.

[back]


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]