From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4852 Path: news.gmane.org!not-for-mail From: TeXitoi Newsgroups: gmane.emacs.gnus.user Subject: Re: thanks, but new problem: utf-8 on a virtual text console Date: 06 Apr 2005 22:19:20 +0200 Organization: Guest of ProXad - France Message-ID: <871x9nmzef.fsf@localhost.localdomain> References: <42345abc$0$1078$9b4e6d93@newsread2.arcor-online.net> <39l973F60qa11U1@individual.net> <42359857$0$26554$9b4e6d93@newsread4.arcor-online.net> <16949.42079.854993.937945@parhasard.net> <4235b0e4$0$1078$9b4e6d93@newsread2.arcor-online.net> <3a6f5jF652kulU1@individual.net> <423e131d$0$9220$9b4e6d93@newsread4.arcor-online.net> <16958.6448.689501.926619@parhasard.net> <8764z0hq89.fsf_-_@pp.ppetersen-usenet76543.de> <874qekg994.fsf@pp.ppetersen-usenet76543.de> <864qekzc6d.fsf@pallotta.studby.uio.no> <87hdijn06j.fsf_-_@pp.ppetersen-usenet76543.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1138670726 25139 80.91.229.2 (31 Jan 2006 01:25:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:25:26 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:34:24 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.powertech.no!news.banetele.no!koehntopp.de!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!newsfeed.stueberl.de!proxad.net!infeed-1.proxad.net!news11-e.free.fr!not-for-mail Original-Sender: texitoi@localhost.localdomain Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Date: 06 Apr 2005 22:19:29 MEST Original-NNTP-Posting-Host: 83.214.49.141 Original-X-Trace: 1112818769 news11-e.free.fr 27757 83.214.49.141:37102 Original-X-Complaints-To: abuse@proxad.net Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4993 Original-Lines: 31 X-Gnus-Article-Number: 4993 Tue Jan 17 17:34:24 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4852 Archived-At: Peter Petersen writes: > With my utf-8 settings for using gnus with gnome-terminal, I get a > complete mess when running emacs or gnus in a virtual text > console. Somehow I can't get it to use utf-8. If someone knows about a > way to change this or - alternatively - can tell me how to write an > entry in .emacs to switch between coding systems if emacs is used on a > text console in contrast to a terminal under X Window, please let me > know. I supose that your problem is about typing non-ascii charactere. I'd the problem for typing, but not for display (display depend of your local). To input, I have that in my .emacs : (if (not (eq window-system 'x)) (cond ((string-match ".UTF-8" (getenv "LANG")) (set-keyboard-coding-system 'utf-8)) ((string-match "@euro" (getenv "LANG")) (set-keyboard-coding-system 'latin-0)) (t (set-keyboard-coding-system 'latin-1)))) you can adapt that to yours needs. --=20 Guillaume Pinot http://wwwetu.utc.fr/~pinotgui/ =AB L'amour, c'est comme le nombre Pi. Naturel, irrationnel et tr=E8s important. =BB -- Lisa Hoffman () Campagne du ruban ascii -- contre les mails en html /\ Contre les pi=E8ces jointes Microsoft