From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Is it possible to use new Emacsen with non-ASCII? Date: Thu, 15 May 2008 22:06:48 +0300 Message-ID: References: <39eea3f0-65d9-4a9f-aeda-ffeb7e7ef52d@t54g2000hsg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1210878559 17655 80.91.229.12 (15 May 2008 19:09:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 19:09:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 21:09:55 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwioL-00020o-5O for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 21:08:17 +0200 Original-Received: from localhost ([127.0.0.1]:44478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwinb-0003la-UT for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 15:07:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwinK-0003lU-4V for help-gnu-emacs@gnu.org; Thu, 15 May 2008 15:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwinI-0003lI-B7 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 15:07:12 -0400 Original-Received: from [199.232.76.173] (port=46525 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwinI-0003lF-59 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 15:07:12 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:52765) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwinH-00007N-Ku for help-gnu-emacs@gnu.org; Thu, 15 May 2008 15:07:11 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0X000AKCFLQC50@i-mtaout1.012.net.il> for help-gnu-emacs@gnu.org; Thu, 15 May 2008 22:21:21 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:54024 Archived-At: > From: Ilya Zakharevich > Date: Thu, 15 May 2008 18:02:44 +0000 (UTC) > Bcc: ilya@gnu.org > Originator: ilya@powdermilk.math.berkeley.edu > > > What is (terminal-coding-system) set to? > > When? After (set-language-environment "Cyrillic-KOI8")? nil Then set it to whatever your terminal supports (koi8-r, I presume, but that's a guess). "M-x set-terminal-coding-system RET koi8-r RET". Alternatively, try "(set-locale-environment koi8-r)", and see if that does what you want. This will also set your keyboard encoding to koi8-r, and I'm not sure you want that. (Maybe you should consider describing more about what you want: what files do you want to edit, how would you like your keyboard to be set, and what characters can your terminal display. There are probably a couple of lines you need to add to your .emacs to get what you want, but it's hard to give advice without knowing the conditions.) > > If your LANG or LC_ALL environment variables are set appropriately, > > Emacs should automatically use the correct terminal-coding-system, > > language-environment etc. > > Irrelevant. I can't set LANG. That's quite understandable, but set-locale-environment from within Emacs has the same effect on Emacs, and doesn't affect anything but Emacs.