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

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

Re: multilingual text in frame


From: Ehud Karni
Subject: Re: multilingual text in frame
Date: Mon, 20 Jan 2003 17:44:20 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20 Jan 2003 12:50:53 +0000, Phillip Lord <address@hidden> wrote:
>
> "Eli" == Eli Zaretskii <address@hidden> writes:
>
>   >> 1) Is it possible to do mule like things in the frame title?
>
>   Eli> I think non-ASCII characters in frame titles and in the mode
>   Eli> line should be possible, but there are a few bugs there.
>   Eli> Please report this as a bug, and hopefully someone will either
>   Eli> tell you how to fix that or fix it in a future release.

I checked it with Hebrew (MULE, iso-8859-8) and this is what I found:
  1. The mode line display the Hebrew OK.
  2. The frame title has the Hebrew characters in it, but it is not
     displayed (presumably because it has the MULE values instead of
     the unibyte values).
     If I change the title to unibyte string with:
         (modify-frame-parameters (selected-frame) (list (cons
                'title (multibyte-string-to-unibyte "ינרק דוהא on Beta"))))
     I can see the Hebrew characters but in Latin-1 (?) glyphs.
     I conclude that the font of the frame title (and frame icon) is not
     a font from the fontset I'm using for the frame. I don't know how
     to set this font.

Ehud.

I defined a function `multibyte-string-to-unibyte', it converts each
character in the input string by using `multibyte-char-to-unibyte'.
I think it should be a built-in (C) function.


- --
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:address@hidden                  Better  Safe  Than  Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE+LBlULFvTvpjqOY0RAnxBAJ9FaKphoJKoKfTxLHgcFUNmPjS+WACfffTi
uGTPsODd1ao0gEsQw9FG8Hs=
=S6Mo
-----END PGP SIGNATURE-----




reply via email to

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