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: Tue, 21 Jan 2003 20:06:12 +0200

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

On Tue, 21 Jan 2003 20:46:43 +0900 (JST), Kenichi Handa <handa@m17n.org> wrote:
> 
> In article <200301201544.h0KFiKIK012501@beta.mvs.co.il>, "Ehud Karni" 
> <ehud@unix.mvs.co.il> writes:
> > 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.
> 
> How is it different from string-make-unibyte?

The `string-make-unibyte' takes the lower 8 bits, the
`multibyte-string-to-unibyte' sets the value according to the current
coding system. e.g. Hebrew Kof (0xc77 in MULE for iso-8859-8) will be
0x77 by `string-make-unibyte' and 0xF7 by my function.

As Eli pointed out, my function works like `decode-coding-string' with
the current coding system.

Ehud.


- -- 
 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: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+LYwULFvTvpjqOY0RAv7kAJ9YxL01pGyykJ+uhgRFkzezfaH7YgCgi4u7
8ndn35BsVbasK3qwdtuknPo=
=xrhQ
-----END PGP SIGNATURE-----




reply via email to

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