Dfc optimization

Stephen J. Turnbull stephen at xemacs.org
Wed Nov 17 23:49:11 EST 2004


>>>>> "Aidan" == Aidan Kehoe <kehoea at parhasard.net> writes:

    Aidan> EBCDIC encodes the same characters as, and is incompatible
    Aidan> with, ASCII. So if an some coding system uses it at all,
    Aidan> it's unlikely that it uses ASCII.

You're missing the point.  X Compound Text handles EBCDIC fine;
however, you have to use an extended segment, and that means there
there will be an ESC, so the precondition fails and the optimization
is not used.

    Aidan> Printing ASCII codes or printing ASCII characters? 

In the case that Ben's talking about, AIUI, both.  We have already
identified the coding system, so we know how they map.  That's why the
initialization of the coding system matters.

If we fail to identify the coding system, yes, we're screwed.  But
that's always true.

-- 
Institute of Policy and Planning Sciences     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