unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: p.lord@russet.org.uk
Subject: Re: multilingual text in frame
Date: Mon, 20 Jan 2003 21:34:35 +0300	[thread overview]
Message-ID: <1659-Mon20Jan2003213435+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <200301201544.h0KFiKIK012501@beta.mvs.co.il> (ehud@unix.mvs.co.il)

> Date: Mon, 20 Jan 2003 17:44:20 +0200
> From: "Ehud Karni" <ehud@unix.mvs.co.il>
> 
> 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.

Why didn't you simply use encode-coding-string?  It _is_ a built-in
primitive.

(IMHO, one should stay away of the multibyte <-> unibyte conversion
functions such as multibyte-char-to-unibyte, since the decisions they
make about how to encode/decode characters are very complex and hard
to explain and remember.  By contrast, explicit encoding functions let
you specify the encoding, so you are the boss ;-)

  reply	other threads:[~2003-01-20 18:34 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 [this message]
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
     [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=1659-Mon20Jan2003213435+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.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).