Mercurial > emacs
comparison lisp/international/utf-8.el @ 36465:f968e313e8ad
Doc fixes.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 01 Mar 2001 18:14:39 +0000 |
parents | aa776838b660 |
children | 898d0f4abcad |
comparison
equal
deleted
inserted
replaced
36464:0305b09cafda | 36465:f968e313e8ad |
---|---|
177 (write-multibyte-character r4 r3))))) | 177 (write-multibyte-character r4 r3))))) |
178 | 178 |
179 (repeat)))) | 179 (repeat)))) |
180 | 180 |
181 "CCL program to decode UTF-8. | 181 "CCL program to decode UTF-8. |
182 Decoding is done into the charsets ascii, eight-bit-control, | 182 Basic decoding is done into the charsets ascii, latin-iso8859-1 and |
183 latin-iso8859-1 and mule-unicode-* only.") | 183 mule-unicode-*. Encodings of un-representable Unicode characters are |
184 decoded asis into eight-bit-control and eight-bit-graphic | |
185 characters.") | |
184 | 186 |
185 (define-ccl-program ccl-encode-mule-utf-8 | 187 (define-ccl-program ccl-encode-mule-utf-8 |
186 `(1 | 188 `(1 |
187 (loop | 189 (loop |
188 (read-multibyte-character r0 r1) | 190 (read-multibyte-character r0 r1) |
264 (write #xbd))))))))) | 266 (write #xbd))))))))) |
265 (repeat))) | 267 (repeat))) |
266 | 268 |
267 "CCL program to encode into UTF-8. | 269 "CCL program to encode into UTF-8. |
268 Only characters from the charsets ascii, eight-bit-control, | 270 Only characters from the charsets ascii, eight-bit-control, |
269 latin-iso8859-1 and mule-unicode-* are recognized. Others are encoded | 271 eight-bit-graphic, latin-iso8859-1 and mule-unicode-* are recognized. |
270 as U+FFFD.") | 272 Others are encoded as U+FFFD.") |
271 | 273 |
272 (make-coding-system | 274 (make-coding-system |
273 'mule-utf-8 4 ?u | 275 'mule-utf-8 4 ?u |
274 "UTF-8 encoding for Emacs-supported Unicode characters. | 276 "UTF-8 encoding for Emacs-supported Unicode characters. |
275 The supported Emacs character sets are: | 277 The supported Emacs character sets are: |