From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5730 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: Encoding for one particular article Date: Sun, 25 Sep 2005 17:45:41 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87irwpqjsl.fsf@wilson.rwth-aachen.de> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671404 28627 80.91.229.2 (31 Jan 2006 01:36:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:36:44 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:44 2006 Original-Newsgroups: gnu.emacs.gnus X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Imu/hRTesOf/il648T3KfLHRBAE= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1127663418 134.60.10.123 (25 Sep 2005 17:50:18 +0200) Original-Path: quimby.gnus.org!newsfeed.gazeta.pl!newsfeed.pionier.net.pl!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5872 Original-Lines: 75 X-Gnus-Article-Number: 5872 Tue Jan 17 17:35:44 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5730 Archived-At: 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? ,----[ 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: ,----[ 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? ,----[ 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 ] | (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/