changing the values of iso-8859-* charsets

Stephen J. Turnbull stephen at xemacs.org
Mon Oct 31 12:32:44 EST 2005


>>>>> "Ben" == Ben Wing <ben at 666.com> writes:

    Ben> but we can create all charsets with the proper indices and
    Ben> have `split-char' and `char-octet' generate the old, wrong
    Ben> indices and a new function do it right.  suggestions for a
    Ben> new api to replace `make-char' and `split-char'?

Why do we want this interface at all, aside from backward
compatibility with legacy Mule?  With Unicode inside, a
`get-char-components' function must be set-valued or nondeterministic
(it depends on some global precedence list), and

    (eq (list cs o1 o2)
        (get-char-components (make-char-from-components cs o1 o2)))

is mostly false.  `charset-of-char' and `octet-of-char' don't make
sense as separate APIs, they must be generated together.

As far as I can see, this is not something that can be done right.
There are only different ways to do it wrong, none of which are very
attractive to me.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list