]> git.eshelyaron.com Git - emacs.git/commit
(get_translation_table): New function.
authorKenichi Handa <handa@m17n.org>
Sun, 25 Jan 2004 07:30:47 +0000 (07:30 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 25 Jan 2004 07:30:47 +0000 (07:30 +0000)
commit7d64c6ad61b58a0d771be52d325efc60c300c10a
tree42b5b91e529b8641331d0bf9c4554a28034f0085
parentfb6872230383502cd23a628324b9c26c19f0d752
(get_translation_table): New function.
(translate_chars): Fix the bug of skipping annotation data.
(decode_coding): Utilze get_translation_table.
(encode_coding): Likewise.
(char_encodable_p): Translate char if necessary.
(Funencodable_char_position): Likewise.
(Ffind_coding_systems_region_internal): Setup translation table
for encode in a coding system attribute vector in advance.
(Fcheck_coding_systems_region): Likewise.
(Fdefine_coding_system_internal): Allow a symbol as translation
table.  For shift-jis type coding system, allow 4th charset.
src/coding.c