unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: recommended russian encoding
Date: Fri, 16 Jul 2004 16:32:19 GMT	[thread overview]
Message-ID: <jwvacxzj4rc.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: qfJJc.60682$Xb4.25448@nwrdny02.gnilink.net

>> > However, when I tried opening the file in Emacs on Linux, the UTF-8
>> > encoded Russian characters displayed as garbage.
>> Garbage?  Empty boxes would indicate that there's no available font, but
> Checked again; I am getting empty boxes.

So it seems that Emacs correctly detected the utf-8 encoding but just
can't find the chars in the unicode font.
You can check with C-u C-x = when point is on one of those empty boxes.

>> bogus glyphs indicate a problem with the encoding.  Did you visit the
>> file with `C-x RET c utf-8 RET C-x C-f'?
> I think you got the above syntax wrong.

Care to tell us what was wrong?
[ Not that the C-x RET c utf-8 RET is necessary since Emacs seems to have
  figured that part on its own. ]

>> Use `C-h h' to display the HELLO file.  Is the Russian text correctly
>> displayed?  Does it make a difference if you invoke emacs with the
>> --font=fontset-standard option?  How about disabling any Fedora
>> customizations with --no-init-file --no-site-file?

> Disabling the startup file made no difference.
> C-h h does display Russian "hello" properly.
> Emacs also works fine in -nw mode in an xterm.

> This seems to demonstrate that the font is available...

Probably that you have a font for the koi-8 characters but not for the
russian unicode characters (and your Emacs doesn't realize that they are
the same).


        Stefan

  reply	other threads:[~2004-07-16 16:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-14 15:09 recommended russian encoding Bruce Ingalls
2004-07-14 17:43 ` Kevin Rodgers
2004-07-15 13:59   ` Bruce Ingalls
2004-07-15 15:45     ` Kevin Rodgers
2004-07-16  4:57       ` Bruce Ingalls
2004-07-16 16:32         ` Stefan Monnier [this message]
2004-07-17 14:57           ` Bruce Ingalls
2004-07-18 15:17             ` Stefan Monnier

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=jwvacxzj4rc.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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).