Re: Is the binaryness/textness of a data format a property?

From: Eli Zaretskii via Unicode <unicode_at_unicode.org>
Date: Sat, 21 Mar 2020 21:23:45 +0200

> Date: Sat, 21 Mar 2020 11:13:40 -0600
> From: Doug Ewell via Unicode <unicode_at_unicode.org>
>
> Adam Borowski wrote:
>
> > Also, UTF-8 can carry more than Unicode -- for example, U+D800..U+DFFF
> > or U+11000..U+7FFFFFFF (or possibly even up to 2³⁶ or 2⁴²), which has
> > its uses but is not well-formed Unicode.
>
> I'd be interested in your elaboration on what these uses are.

Emacs uses some of that for supporting charsets that cannot be mapped
into Unicode. GB18030 is one example of such charsets. The internal
representation of characters in Emacs is UTF-8, so it uses 5-byte
UTF-8 like sequences to represent such characters.
Received on Sat Mar 21 2020 - 14:24:35 CDT

This archive was generated by hypermail 2.2.0 : Sat Mar 21 2020 - 14:24:35 CDT