emacs-bidi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] Points composition - status.


From: Eli Zaretskii
Subject: Re: [emacs-bidi] Points composition - status.
Date: Mon, 24 Dec 2001 19:46:13 +0200

> From: "Yair Friedman (Jerusalem)" <address@hidden>
> Date: Mon, 24 Dec 2001 18:13:49 +0200
> 
> These characters follow each other on all coding systems, but
> unicode-0100-24ff puts them far away.

Ah, okay, sorry I misunderstood.

> In addition all codes between
> 0x51680 and 0x5169F are "invalid characters".  This means that if you
> want to perform global operations all all Hebrew page characters, you
> need to do it in 2 runs (or use char-valid-p).

You can do it easier with decode-char.  For example:

  (let ((ch #x0591)
         mule-codepoint)
    (while (< ch #x05f5)
      (setq mule-codepoint (decode-char 'ucs ch))
      ;; do whatever you want with mule-codepoint
      ))

Neat, eh?  What's more, this code will work without any changes
if/when Emacs moves to Unicode-based internal representation.

> This is because in mule everything is "pages" of 96x96 characters - not
> suitable for Unicode I suppose.

The Unicode-based internal representation is simply a slightly
modified UTF-8.



reply via email to

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