diff options
| author | Kenichi Handa | 2005-02-28 07:19:16 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2005-02-28 07:19:16 +0000 |
| commit | dbaba2d2955aee0f475ad92fab2755314aa3f48a (patch) | |
| tree | d510d6950494fcb16968d2966b5bd649ae082db8 | |
| parent | 2843ef86a59968bdad082cfd4181da321b75612f (diff) | |
| download | emacs-dbaba2d2955aee0f475ad92fab2755314aa3f48a.tar.gz emacs-dbaba2d2955aee0f475ad92fab2755314aa3f48a.zip | |
(ccl-encode-mule-utf-16le): Fix
BUFFER_MAGNIFICATION to 2.
(ccl-encode-mule-utf-16be): Likewise.
(ccl-encode-mule-utf-16le-with-signature): Fix
BUFFER_MAGNIFICATION to 4.
(ccl-encode-mule-utf-16be-with-signature): Likewise.
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/international/utf-16.el | 8 |
2 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10b13117322..7c3842ea3a5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2005-02-28 Chong Yidong" <cyd@stupidchicken.com> (tiny change) | ||
| 2 | |||
| 3 | * international/utf-16.el (ccl-encode-mule-utf-16le): Fix | ||
| 4 | BUFFER_MAGNIFICATION to 2. | ||
| 5 | (ccl-encode-mule-utf-16be): Likewise. | ||
| 6 | |||
| 7 | 2005-02-28 Kenichi Handa <handa@m17n.org> | ||
| 8 | |||
| 9 | * international/utf-16.el (ccl-encode-mule-utf-16le-with-signature): | ||
| 10 | Fix BUFFER_MAGNIFICATION to 4. | ||
| 11 | (ccl-encode-mule-utf-16be-with-signature): Likewise. | ||
| 12 | |||
| 1 | 2005-02-28 Nick Roberts <nickrob@snap.net.nz> | 13 | 2005-02-28 Nick Roberts <nickrob@snap.net.nz> |
| 2 | 14 | ||
| 3 | * speedbar.el (speedbar-update-flag): Doc fix. | 15 | * speedbar.el (speedbar-update-flag): Doc fix. |
diff --git a/lisp/international/utf-16.el b/lisp/international/utf-16.el index 477cccc2bf9..04c9f682139 100644 --- a/lisp/international/utf-16.el +++ b/lisp/international/utf-16.el | |||
| @@ -391,7 +391,7 @@ name `utf-translation-table-for-decode'.") | |||
| 391 | 391 | ||
| 392 | 392 | ||
| 393 | (define-ccl-program ccl-encode-mule-utf-16le | 393 | (define-ccl-program ccl-encode-mule-utf-16le |
| 394 | `(1 | 394 | `(2 |
| 395 | ,utf-16le-encode-loop) | 395 | ,utf-16le-encode-loop) |
| 396 | "Encode to UTF-16LE (little endian without signature). | 396 | "Encode to UTF-16LE (little endian without signature). |
| 397 | Characters from the charsets ascii, eight-bit-control, | 397 | Characters from the charsets ascii, eight-bit-control, |
| @@ -401,7 +401,7 @@ after translation through the translation-table of name | |||
| 401 | Others are encoded as U+FFFD.") | 401 | Others are encoded as U+FFFD.") |
| 402 | 402 | ||
| 403 | (define-ccl-program ccl-encode-mule-utf-16be | 403 | (define-ccl-program ccl-encode-mule-utf-16be |
| 404 | `(1 | 404 | `(2 |
| 405 | ,utf-16be-encode-loop) | 405 | ,utf-16be-encode-loop) |
| 406 | "Encode to UTF-16BE (big endian without signature). | 406 | "Encode to UTF-16BE (big endian without signature). |
| 407 | Characters from the charsets ascii, eight-bit-control, | 407 | Characters from the charsets ascii, eight-bit-control, |
| @@ -411,7 +411,7 @@ after translation through the translation-table named | |||
| 411 | Others are encoded as U+FFFD.") | 411 | Others are encoded as U+FFFD.") |
| 412 | 412 | ||
| 413 | (define-ccl-program ccl-encode-mule-utf-16le-with-signature | 413 | (define-ccl-program ccl-encode-mule-utf-16le-with-signature |
| 414 | `(1 | 414 | `(4 |
| 415 | ((write #xFF) | 415 | ((write #xFF) |
| 416 | (write #xFE) | 416 | (write #xFE) |
| 417 | ,@utf-16le-encode-loop)) | 417 | ,@utf-16le-encode-loop)) |
| @@ -423,7 +423,7 @@ after translation through the translation-table of name | |||
| 423 | Others are encoded as U+FFFD.") | 423 | Others are encoded as U+FFFD.") |
| 424 | 424 | ||
| 425 | (define-ccl-program ccl-encode-mule-utf-16be-with-signature | 425 | (define-ccl-program ccl-encode-mule-utf-16be-with-signature |
| 426 | `(1 | 426 | `(4 |
| 427 | ((write #xFE) | 427 | ((write #xFE) |
| 428 | (write #xFF) | 428 | (write #xFF) |
| 429 | ,@utf-16be-encode-loop)) | 429 | ,@utf-16be-encode-loop)) |