aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2004-06-12 02:10:37 +0000
committerKenichi Handa2004-06-12 02:10:37 +0000
commitc71c26e9295573509ceaa468ea973299a8b311e1 (patch)
treebea8ba45657f2c84350359f97f0eeeec84d7d38d /src/coding.c
parent7805cdbd4f39ef8904b68f687be8715306910769 (diff)
downloademacs-c71c26e9295573509ceaa468ea973299a8b311e1.tar.gz
emacs-c71c26e9295573509ceaa468ea973299a8b311e1.zip
(utf-translate-cjk-charsets): New
variable. (utf-translate-cjk-unicode-range): New variable. (utf-translate-cjk-load-tables): New function. (utf-lookup-subst-table-for-decode): New function. (utf-lookup-subst-table-for-encode): New function. (utf-translate-cjk-mode): Init-value changed to t. Don't load tables here. Update safe-charsets of utf-* coding systems. (ccl-mule-utf-untrans): New CCL. (ccl-decode-mule-utf-8): Call ccl-mule-utf-untrans. Use `repeat' at end of each branch. (ccl-mule-utf-8-encode-untrans): New CCL. (ccl-encode-mule-utf-8): Call ccl-mule-utf-8-encode-untrans. (ccl-untranslated-to-ucs): Handle 2-byte encoding. Set r1 to the length of encoding. Don't return r0. (utf-8-compose): New arg hash-table. Handle 2-byte encoding. (utf-8-post-read-conversion): Narrow to region properly. If utf-translate-cjk-mode is on, load tables if necessary. Call utf-8-compose with hash-table arg if necessary. Call XXX-compose-region instead of XXX-post-read-convesion. (utf-8-pre-write-conversion): New function. (mule-utf-8): Include CJK charsets in safe-charsets if utf-translate-cjk-mode is on. Add pre-write-conversion.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions