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: Fri, 16 May 2008 14:50:54 +0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1210938682 23018 80.91.229.12 (16 May 2008 11:51:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 11:51:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 13:52:00 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 1JwyTe-0007nf-Vw for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 13:51:59 +0200 Original-Received: from localhost ([127.0.0.1]:47788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwySv-0005Tn-DF for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 07:51:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwySf-0005TF-9B for help-gnu-emacs@gnu.org; Fri, 16 May 2008 07:50:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwySe-0005Sx-My for help-gnu-emacs@gnu.org; Fri, 16 May 2008 07:50:57 -0400 Original-Received: from [199.232.76.173] (port=45844 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwySe-0005Su-Fz for help-gnu-emacs@gnu.org; Fri, 16 May 2008 07:50:56 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:30996) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwySd-0003nO-Cf for help-gnu-emacs@gnu.org; Fri, 16 May 2008 07:50:56 -0400 Original-Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K0Y007QXMX33EW0@i_mtaout3.012.net.il> for help-gnu-emacs@gnu.org; Fri, 16 May 2008 15:05:28 +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:54056 Archived-At: > From: Ilya Zakharevich > Date: Fri, 16 May 2008 11:15:12 +0000 (UTC) > Bcc: ilya@gnu.org > Originator: ilya@powdermilk.math.berkeley.edu > > > > Well, with --unibyte it does act as cat. > > > No, it does not. What it does is jumping through the hoops to try > > very hard to make you _think_ it does. > > That's good enough for me. So: how I convince Emacs to do the same > without --unibyte? See below. > OK, if this is the simplest case for you to cover: assume that the > user knows that the TTY works in KOI8-r. > > > What about the keyboard -- how do you type Cyrillic characters, > > This is a TTY. You have no idea what I do to make it send certain > bytes - and you should not care. > > > and what 8-bit codes does your keyboard setup produce? > > All of them. [Assume that 0..0x1f are reserved for standard control chars] > > > are they also KOI8-R encoded? > > As I said, input and output encodings match. Then please try this: emacs -nw -Q M-: (set-locale-environment "koi8-r") RET Does this do what you want if you then type Cyrillic text or visit files with Cyrillic text encoded in KOI8-R?