unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: vedm <ns@nospam.com>
Subject: Re: Emacs in xterm and Cyrillic?
Date: 09 Apr 2005 20:26:22 -0400	[thread overview]
Message-ID: <86mzs779zl.fsf@localhost.localdomain> (raw)
In-Reply-To: 8764yzc3ro.fsf-monnier+gnu.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> > (set-terminal-coding-system 'iso-8859-5)
> 
> If you properly set your locale this won't be necessary.
> 
> 
>         Stefan

You are right. 

Running the command "locale -a" I see that the locale for Bulgarian is
bg_BG. I set the following variables:

LC_ALL=bg_BG
LANG=bg_BG
LANGUAGE=bg_BG


This didn't help. The other locale for Bulgarian is bg_BG.cp1251. However
my files are encoded in iso8859-5. I noticed that there is a Russian
locale ru_RU.iso88595: I tried it and it worked: I didn't need the
"set-terminal-coding-system" call with this locale.

So in the end, the problem can be fixed either with
set-terminal-coding-system or with setting the appropriate locale.

But I wonder why there is no Bulgarian  locale with iso-8859-5
encoding? After all, that is supposed to be the standard.


-- 
vedm

  reply	other threads:[~2005-04-10  0:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-03 23:34 Emacs in xterm and Cyrillic? vedm
2005-04-04 17:43 ` Peter Dyballa
2005-04-05 20:49 ` Stefan Monnier
     [not found] ` <mailman.78.1112634873.2895.help-gnu-emacs@gnu.org>
2005-04-06  1:29   ` vedm
2005-04-06  8:18     ` Peter Dyballa
2005-04-06 15:40     ` Stefan Monnier
2005-04-10  0:26       ` vedm [this message]
     [not found]     ` <mailman.354.1112774023.2895.help-gnu-emacs@gnu.org>
2005-04-10  0:58       ` vedm
2005-04-10 12:54         ` Recommendations: emacs files containing multiple languages ken
2005-04-10 13:33           ` Peter Dyballa
2005-04-10 19:06           ` Eli Zaretskii
2005-04-10 13:20         ` Emacs in xterm and Cyrillic? Peter Dyballa
2005-04-11 17:48         ` Kevin Rodgers
     [not found]         ` <mailman.1082.1113240243.2895.help-gnu-emacs@gnu.org>
2005-04-14  1:47           ` vedm
2005-04-14  2:03             ` vedm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86mzs779zl.fsf@localhost.localdomain \
    --to=ns@nospam.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).