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: Mon, 20 Jan 2003 22:28:03 +0200	[thread overview]
Message-ID: <200301202028.h0KKS3KK017240@beta.mvs.co.il> (raw)
In-Reply-To: <1659-Mon20Jan2003213435+0200-eliz@is.elta.co.il> (message from Eli Zaretskii on Mon, 20 Jan 2003 21:34:35 +0300)

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

On Mon, 20 Jan 2003 21:34:35 +0300, Eli Zaretskii <eliz@is.elta.co.il> wrote:
>
> Why didn't you simply use encode-coding-string?  It _is_ a built-in
> primitive.

You are right. using
    (encode-coding-string "ינרק דוהא on Beta" 'hebrew-iso-8bit)
gives the same result.

But if (by mistake) I do:
    (encode-coding-string "ינרק דוהא on Beta" 'iso-latin-1)
I get:  "^[,Hipxw^[(B ^[,Hced`^[(B on Beta"
which is wrong for me (it includes Escape sequences that are bad
for my unibyte - wrong number of characters).

With multibyte to unibyte - I may get a wrong character (if it is
not in my charset) but I get the number of characters right.

Ehud.


- --
 @@@@@@ @@@ @@@@@@ @    @   Ehud Karni                       ינרק דוהא
     @    @      @  @@  @   Senior System Support   בשחמ תוכרעמב הכימת
     @    @ @    @ @  @@    Mivtach - Simon               ןומיס - חטבמ
     @    @ @    @ @    @   Insurance agencies          חוטבל תויונכוס
  Better Safe Than Sorry    Tel: +972-3-7966-561  Fax: +972-3-7966-667
   http://www.mvs.co.il             mailto:ehud@unix.mvs.co.il

 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+LFvTLFvTvpjqOY0RAryLAJwLFOSm7bZp/d2gN97OZPeFJe/ycACgipEt
fjYQAlXIYuuzpr8KqUOksas=
=ifs7
-----END PGP SIGNATURE-----

  reply	other threads:[~2003-01-20 20:28 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 [this message]
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=200301202028.h0KKS3KK017240@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).