[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: |
Mon, 20 Jan 2003 22:28:03 +0200 |
-----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-----