help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: set input/output coding system for term-mode


From: William Xu
Subject: Re: set input/output coding system for term-mode
Date: Tue, 12 Jun 2007 12:37:37 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

   > How can i set input/output coding system for term-mode inside emacs?

   If you mean keyboard input and screen output, 

Firstly, I have (prefer-coding-system 'utf-8) in .emacs. In *terminal*
buffer, suppose there's a file `foo' encoded with 'gb2312, at present
`cat foo' would display garbages, which is what i'm trying to solve.

   then the commands you want are "C-x RET k" and "C-x RET t".

Hmm, it has no effects. Just same as previous.

-- 
William





reply via email to

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