From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Emacs in xterm and Cyrillic? Date: Mon, 4 Apr 2005 19:43:35 +0200 Message-ID: References: <86zmwfv3hj.fsf@localhost.localdomain> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112642561 10352 80.91.229.2 (4 Apr 2005 19:22:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2005 19:22:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 04 21:22:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIX8K-0003Sh-NU for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Apr 2005 21:21:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIWh5-0002kk-1T for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Apr 2005 14:53:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DIV9j-0001jy-DB for help-gnu-emacs@gnu.org; Mon, 04 Apr 2005 13:14:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIV9f-0001i7-Pz for help-gnu-emacs@gnu.org; Mon, 04 Apr 2005 13:14:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIV9e-0001gZ-Qk for help-gnu-emacs@gnu.org; Mon, 04 Apr 2005 13:14:26 -0400 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DIVbv-0000ad-W0 for help-gnu-emacs@gnu.org; Mon, 04 Apr 2005 13:43:40 -0400 Original-Received: from [84.245.189.62] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DIVbt-0002cz-00 for help-gnu-emacs@gnu.org; Mon, 04 Apr 2005 19:43:37 +0200 In-Reply-To: <86zmwfv3hj.fsf@localhost.localdomain> Original-To: vedm X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25377 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25377 Am 04.04.2005 um 01:34 schrieb vedm: > When I start emacs in xterm (emacs -nw) I can not read Cyrillic text: I > see only question marks. First you should set in GNU Emacs a language environment: Cyrillic-ALT, Cyrillic-ISO, Cyrillic-KOI8, Ukrainian ... This should already prepare most things. If this doesn't help yet, then there are environment variables in xterm's shell, LANG and LC_CTYPE. GNU Emacs 22 will reverse this sequence. If this still is not sufficient you have in GNU Emacs a few variables and functions with 'coding-system' you can set, for example: (set-terminal-coding-system 'XXX) (prefer-coding-system 'XXX) (setq default-buffer-file-coding-system 'XXX) -- Greetings Pete