NOTE: This patch has been committed.
APPROVE COMMIT
RECOMMEND 21.4, SXEmacs
I was aware CCL was doing something like this for a long time; I just told
myself that the code was part of XEmacs, it must be me who was getting stuff
wrong.
Thereâs an EBCDIC coding system, for example, at
http://parhasard.net/ebcdic-na.el that works after this change has been
applied. Also, writing a Windows-1252 coding system now becomes possible.
src/ChangeLog addition:
2005-04-05 Aidan Kehoe <kehoea(a)parhasard.net>
* mule-ccl.c (ccl_driver): Calculate the charset and position code
for control-1 characters properly, both when reading multibyte
characters and writing them.