Changeset 5193
- Timestamp:
- Sep 11, 2006, 7:10:41 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-unicode.lisp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-unicode.lisp
r5172 r5193 74 74 ;; Might return NIL if the encoding's bogus 75 75 length-of-memory-encoding-function ;(POINTER NUNITS &optional (START 0)) 76 77 ;; Code units and character codes less than this value map to themselves 78 (literal-char-code-limit 0) 76 79 ) 77 80 … … 86 89 (setf (get-character-encoding ,name) 87 90 (make-character-encoding :name ,name ,@args)))) 91 92 (defun encoding-name (encoding) 93 (character-encoding-name (or encoding (get-character-encoding nil)))) 88 94 89 95 ;;; ISO-8859-1 is trivial, though of course it can't really encode characters … … 164 170 (declare (ignore pointer start)) 165 171 nunits)) 172 :literal-char-code-limit 256 166 173 ) 167 174 … … 169 176 (setf (get-character-encoding nil) 170 177 (get-character-encoding :iso-8859-1)) 178 179 171 180 172 181 … … 572 581 ((< code #xe0) 2) 573 582 ((< code #xf0) 3) 574 (t 4)))))))) 583 (t 4))))))) 584 :literal-char-code-limit #x80 585 ) 586
Note:
See TracChangeset
for help on using the changeset viewer.
