unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Ehud Karni" <ehud@unix.mvs.co.il>
Cc: p.lord@russet.org.uk
Subject: Re: multilingual text in frame
Date: Tue, 21 Jan 2003 20:06:12 +0200	[thread overview]
Message-ID: <200301211806.h0LI6Chn025438@beta.mvs.co.il> (raw)
In-Reply-To: <200301211146.UAA03942@etlken.m17n.org> (message from Kenichi Handa on Tue, 21 Jan 2003 20:46:43 +0900 (JST))

-----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	other threads:[~2003-01-21 18:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-17 14:06 multilingual text in frame Phillip Lord
2003-01-18 10:26 ` Eli Zaretskii
2003-01-18 18:35 ` Jesper Harder
2003-01-20 12:50   ` Phillip Lord
     [not found] ` <mailman.524.1042889362.21513.help-gnu-emacs@gnu.org>
2003-01-20 12:50   ` Phillip Lord
2003-01-20 15:44     ` Ehud Karni
2003-01-20 18:34       ` Eli Zaretskii
2003-01-20 20:28         ` Ehud Karni
2003-01-20 20:28           ` Eli Zaretskii
2003-01-21 11:46       ` Kenichi Handa
2003-01-21 18:06         ` Ehud Karni [this message]
     [not found]       ` <mailman.673.1043149750.21513.help-gnu-emacs@gnu.org>
2003-01-21 17:57         ` Stefan Monnier <foo@acm.com>

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=200301211806.h0LI6Chn025438@beta.mvs.co.il \
    --to=ehud@unix.mvs.co.il \
    --cc=p.lord@russet.org.uk \
    /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.
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).