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

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

Re: Is it possible to use new Emacsen with non-ASCII?


From: Eli Zaretskii
Subject: Re: Is it possible to use new Emacsen with non-ASCII?
Date: Fri, 16 May 2008 14:50:54 +0300

> From: Ilya Zakharevich <address@hidden>
> Date: Fri, 16 May 2008 11:15:12 +0000 (UTC)
> Bcc: address@hidden
> Originator: address@hidden
> 
> > > 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?




reply via email to

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