From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.help Subject: Re: multilingual text in frame Date: Mon, 20 Jan 2003 17:44:20 +0200 Organization: Mivtach-Simon Insurance agencies Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200301201544.h0KFiKIK012501@beta.mvs.co.il> References: Reply-To: ehud@unix.mvs.co.il NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1043077529 3763 80.91.224.249 (20 Jan 2003 15:45:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2003 15:45:29 +0000 (UTC) Cc: Handa Kenichi Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ae75-0000yQ-00 for ; Mon, 20 Jan 2003 16:45:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ae8R-0003zJ-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 20 Jan 2003 10:46:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ae82-0003si-00 for help-gnu-emacs@gnu.org; Mon, 20 Jan 2003 10:46:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ae6q-0003aY-00 for help-gnu-emacs@gnu.org; Mon, 20 Jan 2003 10:45:14 -0500 Original-Received: from unix.sw.co.il ([192.114.178.12] helo=unix.mvs.co.il) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ae6p-0003WT-00 for help-gnu-emacs@gnu.org; Mon, 20 Jan 2003 10:45:11 -0500 Original-Received: from beta.mvs.co.il (beta [10.253.0.3]) by unix.mvs.co.il (8.11.6/8.11.6) with ESMTP id h0KFiNh17707; Mon, 20 Jan 2003 17:44:23 +0200 Original-Received: from beta.mvs.co.il (localhost [127.0.0.1]) by beta.mvs.co.il (8.12.5/8.12.5) with ESMTP id h0KFiMed012507; Mon, 20 Jan 2003 17:44:22 +0200 Original-Received: (from ehud@localhost) by beta.mvs.co.il (8.12.5/8.12.5/Submit) id h0KFiKIK012501; Mon, 20 Jan 2003 17:44:20 +0200 X-Authentication-Warning: beta.mvs.co.il: ehud set sender to ehud@unix.mvs.co.il using -f Original-To: p.lord@russet.org.uk In-reply-to: (message from Phillip Lord on 20 Jan 2003 12:50:53 +0000) X-Mailer: Emacs 21.2.91.3 rmail (send-msg 1.108) Original-cc: Eli Zaretskii Original-cc: Gnu Emacs help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5754 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20 Jan 2003 12:50:53 +0000, Phillip Lord wrote: > > =22Eli=22 =3D=3D Eli Zaretskii 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 =22=E9=F0=F8=F7 =E3=E5=E4=E0 on Beta=22)))) 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 /=22\ 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:ehud@unix.mvs.co.il Better Safe Than Sorry -----BEGIN PGP SIGNATURE----- Comment: use http://www.keyserver.net/ to get my key (and others) iD8DBQE+LBlULFvTvpjqOY0RAnxBAJ9FaKphoJKoKfTxLHgcFUNmPjS+WACfffTi uGTPsODd1ao0gEsQw9FG8Hs=3D =3DS6Mo -----END PGP SIGNATURE-----