[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-32
From: |
Ulrich Mueller |
Subject: |
Re: UTF-32 |
Date: |
Fri, 07 Jul 2023 12:34:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
>>>>> On Fri, 07 Jul 2023, Eli Zaretskii wrote:
>> >> On a different tangent, Emacs doesn't seem to know about UTF-32, which
>> >> I find a little surprising.
>> >>
>> >> Is there simply no need for that encoding, or am I missing something?
>>
>> > There's no need. We don't support character codepoints that are wider
>> > than 32 bits.
>>
>> IIUC UTF-32 (aka UCS-4) encodes only Unicode codepoints, and it encodes
>> every character as 4 bytes.
>>
>> https://www.unicode.org/reports/tr19/tr19-9.html
> Yes, I know. Not sure why you posted this, though. If you are saying
> that this somehow contradicts what I wrote above, please elaborate,
> because I don't see the contradiction.
I don't understand how "codepoints that are wider than 32 bits"
are related to UTF-32. UTF-8, UTF-16, and UTF-32 all encode the same
repertoire (U+0000 to U+10FFFF).
Emacs knows about UTF-8 and UTF-16 but not about UTF-32. Is it an
unreasonable question to ask why that is so? (Just out of interest,
I do not challenge it, and I have no need for UTF-32.)
- Re: Lisp reader syntax and bootstrap, (continued)
- Re: Lisp reader syntax and bootstrap, Paul Eggert, 2023/07/17
- Re: Lisp reader syntax and bootstrap, Po Lu, 2023/07/16
- Re: Lisp reader syntax and bootstrap, Richard Stallman, 2023/07/15
- Re: Lisp reader syntax and bootstrap (was: Re: Disambiguate modeline character for UTF-8?), Eli Zaretskii, 2023/07/09
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/06
- Re: Disambiguate modeline character for UTF-8?, Po Lu, 2023/07/06
- UTF-32 (was: Re: Disambiguate modeline character for UTF-8?), Ulrich Mueller, 2023/07/07
- Re: UTF-32 (was: Re: Disambiguate modeline character for UTF-8?), Eli Zaretskii, 2023/07/07
- Re: UTF-32, Ulrich Mueller, 2023/07/07
- Re: UTF-32, Eli Zaretskii, 2023/07/07
- Re: UTF-32,
Ulrich Mueller <=
- Re: UTF-32, Eli Zaretskii, 2023/07/07
- Re: UTF-32, Andreas Schwab, 2023/07/07
- Re: UTF-32, Ulrich Mueller, 2023/07/07
- Re: UTF-32, Eli Zaretskii, 2023/07/07
Re: Disambiguate modeline character for UTF-8?, Stefan Monnier, 2023/07/05