>>>> "Ben" == Ben Wing <ben(a)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.