In article <[EMAIL PROTECTED]>, Joe Wells <[EMAIL PROTECTED]> writes:

> I'm using the Gentoo ebuild app-editors/emacs-22.0.50_pre20050225
> which is based on a CVS snapshot from last year.

> Try evaluating this:

>   (let ((unicode-char-hex-string
>          (format "%x"
>                  (encode-char
>                   (aref (decode-coding-string
>                          ;; UTF-8 for U+1D161 (MUSICAL SYMBOL SIXTEENTH NOTE):
>                          "\355\205\241"
>                          'utf-8) 0)
>                   'ucs))))
>     (if (equal "d161" unicode-char-hex-string)
>         (error "Oh no!  Emacs dropped 17th bit when decoding the 
> character!")))

That version of Emacs supports only BMP as written in the
documenation of utf-8 coding system.

u -- utf-8 (alias of mule-utf-8)

UTF-8 encoding for Emacs-supported Unicode characters.
It supports Unicode characters of these ranges:
    U+0000..U+33FF, U+E000..U+FFFF.
They correspond to these Emacs character sets:
    ascii, latin-iso8859-1, mule-unicode-0100-24ff,
    mule-unicode-2500-33ff, mule-unicode-e000-ffff
[...]

---
Kenichi Handa
[EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to