Peter Petersen <[EMAIL PROTECTED]> 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.
--
Guillaume Pinot http://wwwetu.utc.fr/~pinotgui/
� L'amour, c'est comme le nombre Pi. Naturel, irrationnel et tr�s
important. � -- Lisa Hoffman
() Campagne du ruban ascii -- contre les mails en html
/\ Contre les pi�ces jointes Microsoft
_______________________________________________
Info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english