Deutsch   English   Français   Italiano  
<87y117y297.fsf_-_@example.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Wolfgang Agnes <wagnes@example.com>
Newsgroups: comp.lang.fortran
Subject: OT: unicode (Was: Re: Upcoming gfortran 15 will contain unsigned numbers)
Date: Mon, 25 Nov 2024 08:35:48 -0300
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <87y117y297.fsf_-_@example.com>
References: <veg58f$kb8e$1@dont-email.me> <vemj62$1qt5b$1@dont-email.me>
	<vemqnn$1sd2k$4@dont-email.me> <vgmj98$c89k$1@solani.org>
	<vgninl$3p2fj$1@dont-email.me> <vhrbq4$167bv$1@solani.org>
	<87bjy6cfek.fsf@example.com> <vhtjr2$1s5d5$12@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Nov 2024 12:35:52 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2ecfb6169f8f4c0abcf3bd1102ea7f07";
	logging-data="2899185"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19h3n+lrnxZ1tORf5ONAX0vTHppr4bk6WM="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt)
Cancel-Lock: sha1:Cmy5zHUxFnCkG7sC8yjLWsvuBcc=
	sha1:8aKTTUpGbugwNp3w8ooEriy01C8=
Bytes: 2043

Lawrence D'Oliveiro <ldo@nz.invalid> writes:

> On Sat, 23 Nov 2024 09:18:11 -0300, Wolfgang Agnes wrote:
>
>> How about UCS-2?
>
> “UCS-2” was the name of the encoding back when it was assumed that Unicode 
> was always going to be just 16 bits. After the coding was extended, those 
> “surrogate” ranges were introduced, to allow representation of the extra 
> characters within a 16-bit encoding, and so “UCS-2” was renamed to 
> “UTF-16”.
>
> In short, “UTF-16” is basically “UCS-2 with surrogates”.

Nice to know!  Thanks.  So, UCS means ``Universal Character Set''.  I
thought it was a whole different character set.  It's a bit difficult to
understand ``surrogates''.  So many definitions come up such as ``Basic
Multilingual Plane''.  Can you explain what surrogates are?