unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dave Love <d.love@dl.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: Cyrillic vs UTF-8
Date: 04 May 2003 18:13:58 +0100	[thread overview]
Message-ID: <rzq1xze1vop.fsf@albion.dl.ac.uk> (raw)
In-Reply-To: <ilullxmc45c.fsf@latte.josefsson.org>

Simon Josefsson <jas@extundo.com> writes:

> Another problem was that Emacs,
> when asked to load the file as UTF-8, picked a Unicode font that
> didn't include this glyphs.

I assume that's the general xfree86 4 lossage I mentioned in PROBLEMS.
I can't remember how the font will get chosen by default, but there's
code in cyrillic.el that should allow mule-unicode-0100-24ff
characters to be displayed with an 8859-5 or KOI font.  You can also
change into which Emacs characters utf-8 decodes.

> To workaround the problem, users need to
> define a fontset, and use it.

Yes (or purge the unhelpful fonts).  If the combination of the
PROBLEMS entry and the manual aren't good enough, suggestions would be
useful.

> Doing this is rather user unfriendly (X resource, or elisp) so I
> suggested making it possible to customize fontsets.

Yes.  I mostly implemented customizing the default set (which I think
is all that needs customizing) for Emacs 22, but was stymied by the
treatment of the default face somewhere.  I complained about that some
time ago, but it never got resolved and I've not had time to go back
and try to sort it out.  (I think that problem is the same in Emacs 21
and 22, but the fontset mechanism in the latter is different.)

> My other Cyrillic thread was that (double-width) cyrillic

I assume that means the Cyrillic parts of the CJK charsets.

> isn't possible to save as UTF-8 at all.

It's possible if you amend the tables defined in ucs-tables.el or
utf-8.el -- wherever it is now.  I can't remember whether there are
potential problems with that, but I at least thought it wasn't
worthwhile.  If you want to experiment, Mule-UCS has tables with the
non-CJK characters labelled for JISX &c.

> This was fixed by adding a
> PROBLEMS entry that says not all of Unicode is supported.

It looks as though that needs work...

> I hope this summarizes the thread.

Thanks.

[This has got strange recipients because the original mail had
`Mail-Copies-To: nobody'.  As far as I know, that's a non-standard
header for news only, so perhaps there's a Gnus bug there.]

  reply	other threads:[~2003-05-04 17:13 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-25 16:12 Cyrillic vs UTF-8 Simon Josefsson
2003-04-25 16:40 ` Eli Zaretskii
2003-04-25 17:09   ` Simon Josefsson
2003-04-25 22:39     ` Eli Zaretskii
2003-04-26  8:11     ` Kenichi Handa
2003-04-26 12:25       ` Simon Josefsson
2003-04-28  9:18         ` Kenichi Handa
2003-04-28 11:11           ` Simon Josefsson
2003-04-26 16:21       ` Benjamin Riefenstahl
2003-04-26 16:27         ` Benjamin Riefenstahl
2003-04-28  4:38       ` Richard Stallman
2003-05-01  8:27         ` Kenichi Handa
2003-05-02  7:06           ` Richard Stallman
2003-05-02 21:51             ` Eli Zaretskii
2003-05-03 13:37               ` Juanma Barranquero
2003-05-03 19:04                 ` Eli Zaretskii
2003-05-04 13:03               ` Richard Stallman
2003-05-04 11:04           ` Dave Love
2003-05-04 12:01             ` Simon Josefsson
2003-05-04 17:13               ` Dave Love [this message]
2003-05-04 18:03                 ` Simon Josefsson
2003-05-05  8:47             ` Kenichi Handa
2003-04-26 13:44     ` Richard Stallman
2003-04-26 14:10       ` Simon Josefsson
2003-04-28 21:49     ` Stefan Monnier
2003-04-28 22:29       ` Simon Josefsson
2003-04-29 13:49         ` Stefan Monnier
2003-04-29 14:27           ` Simon Josefsson
2003-04-30  4:42             ` Stephen J. Turnbull
2003-04-30  5:43           ` Richard Stallman
2003-05-19  0:40       ` Kenichi Handa
2003-05-19  0:52         ` Stefan Monnier
2003-05-19  2:31           ` Kenichi Handa
2003-05-19 13:28             ` Stefan Monnier
2003-05-19 13:49               ` Stefan Monnier
2003-04-25 16:54 ` Simon Josefsson
2003-04-26  3:55   ` Implementing charset-aware X font names [was: Cyrillic vs UTF-8] Stephen J. Turnbull
2003-04-28 11:09     ` Kenichi Handa
2003-04-28 12:27       ` Implementing charset-aware X font names Stephen J. Turnbull
2003-05-01 11:13         ` Kenichi Handa
2003-05-01 14:14           ` Alex Schroeder
2003-05-01 23:16             ` Kenichi Handa
2003-04-26  7:59   ` Cyrillic vs UTF-8 Kenichi Handa
2003-04-26 12:14     ` Simon Josefsson
2003-05-01  7:20       ` Kenichi Handa
2003-05-01 14:06         ` Alex Schroeder
2003-05-01 18:03         ` Customizing fontsets (was: Cyrillic vs UTF-8) Oliver Scholz
2003-05-02  5:17           ` Customizing fontsets Alex Schroeder
2003-05-02  6:32             ` Kenichi Handa
2003-05-02 13:25               ` Stefan Monnier
2003-05-03  0:40               ` Oliver Scholz
2003-05-03  1:50                 ` Kenichi Handa
2003-05-03 12:08                   ` Oliver Scholz
2003-05-07  1:22                     ` Kenichi Handa
2003-05-03  0:33             ` Oliver Scholz

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=rzq1xze1vop.fsf@albion.dl.ac.uk \
    --to=d.love@dl.ac.uk \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).