From: Bruce Ingalls <ingallsb@verizon._NO.SPAM_.net>
Subject: Re: recommended russian encoding
Date: Sat, 17 Jul 2004 14:57:38 GMT [thread overview]
Message-ID: <C7bKc.4913$W86.1728@nwrdny03.gnilink.net> (raw)
In-Reply-To: <jwvacxzj4rc.fsf-monnier+gnu.emacs.help@gnu.org>
Stefan Monnier wrote:
>>>>However, when I tried opening the file in Emacs on Linux, the UTF-8
>>>>encoded Russian characters displayed as ... 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.
I get:
character: а (01212120, 332880, 0x51450)
charset: mule-unicode-0100-24ff
(Unicode characters of the range U+0100..U+24FF.)
code point: 40 80
syntax: word
category: y:Cyrillic
buffer code: 0x9C 0xF4 0xA8 0xD0
file code: 0xD0 0xB0 (encoded by coding system mule-utf-8)
font: -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO10646-1
(the encoded char above might not have survived copy & pasting)
>>>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?
I discovered that the better syntax, which worked for me, is:
C-x C-m c utf-8 RET C-x C-f
-------------^
C-m is not the same as RET.
>>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).
That's it. koi-8-r encoding worked. Is there some way to tell Emacs to
map the Cyrillic fonts that it has, to UTF-8 encodings?
Now, I'm going through all this again with XEmacs.
The precompiled v21.4.13 cygwin (XEmacs, not Cygwin distro) binary seems
not to have LEIM/MULE support compiled in.
When I type 'C-x C-m c', the only completion choices are 'default' &
'raw-text'
next prev parent reply other threads:[~2004-07-17 14:57 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
2004-07-17 14:57 ` Bruce Ingalls [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='C7bKc.4913$W86.1728@nwrdny03.gnilink.net' \
--to=ingallsb@verizon._no.spam_.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.