Mercurial > emacs
view etc/nxml/02440-0245F.el @ 87676:2aeceff24280
(detect_coding_iso2022): New arg latin_extra_code_state. Allow Latin
extra codes only when *latin_extra_code_state is nonzero.
(detect_coding_mask): If there is a NULL byte, detect the encoding as
UTF-16 or binary. If there is a Latin extra code, detect the encoding
as ISO-2022 only when no other proper encoding is found.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 09 Jan 2008 06:05:23 +0000 |
parents | a76a6e77bd7d |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'optical-character-recognition '(("OCR HOOK" #x2440) ("OCR CHAIR" #x2441) ("OCR FORK" #x2442) ("OCR INVERTED FORK" #x2443) ("OCR BELT BUCKLE" #x2444) ("OCR BOW TIE" #x2445) ("OCR BRANCH BANK IDENTIFICATION" #x2446) ("OCR AMOUNT OF CHECK" #x2447) ("OCR DASH" #x2448) ("OCR CUSTOMER ACCOUNT NUMBER" #x2449) ("OCR DOUBLE BACKSLASH" #x244A) )) ;; arch-tag: e532db31-38fd-4eee-8e47-974316fb6dd5