[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Encoding for one particular article
From: |
Reiner Steib |
Subject: |
Re: Encoding for one particular article |
Date: |
Sun, 25 Sep 2005 17:45:41 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
On Sun, Sep 25 2005, Torsten Bronger wrote:
> How can I set the encoding of one article that I write or read?
>
> If I read a posting in an obviously wrong encoding, but I know the
> right one, how can I set it?
,----[ <f1> v gnus-summary-show-article-charset-alist RET ]
| gnus-summary-show-article-charset-alist is a variable defined in `gnus-sum'.
| Its value is
| ((12 . windows-1252)
| (0 . iso-8859-15)
| (8 . utf-8))
|
| Documentation:
| Alist of number and charset.
| The article will be shown with the charset corresponding to the
| numbered argument.
| For example: ((1 . cn-gb-2312) (2 . big5)).
`----
Then, use `8 g' to force utf-8 decoding:
,----[ <f1> f gnus-summary-show-article RET ]
| gnus-summary-show-article is an interactive compiled Lisp function
| in `gnus-sum'.
| (gnus-summary-show-article &optional arg)
|
| Force redisplaying of the current article.
| If arg (the prefix) is a number, show the article with the charset
| defined in `gnus-summary-show-article-charset-alist', or the charset
| input.
| If arg (the prefix) is non-nil and not a number, show the raw article
| without any article massaging functions being run. Normally, the key
| strokes are `C-u g'.
`----
> And if I have to deal with a newsreader at the other end of the line
> that is incapable of my UTF-8, how can I post an article in Latin-9?
,----[ <f1> v mm-coding-system-priorities RET ]
| mm-coding-system-priorities is a variable defined in `mm-util'.
| Its value is
| (iso-8859-1 iso-8859-2 iso-8859-15 mule-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 may also set `mm-coding-system-priorities' on a per-group basis or
for certain hierarchies:
,----[ From <news:v9fytn9o65.fsf_-_@marauder.physik.uni-ulm.de> ]
| (add-to-list 'gnus-newsgroup-variables 'mm-coding-system-priorities)
| (setq gnus-parameters
| '(("^de\\."
| (mm-coding-system-priorities '(iso-8859-1 iso-8859-15 utf-8)))
| ("^fr\\."
| (mm-coding-system-priorities '(iso-8859-15 iso-8859-1 utf-8)))
| ("^fj\\." ;; Japan?
| (mm-coding-system-priorities '(shift_jis iso-2022-jp utf-8)))
| ("^cz\\."
| (mm-coding-system-priorities '(iso-8859-2 utf-8)))))
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/