comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: UTF-8 in strings - a bug?
Date: Sat, 8 May 2004 12:10:37 +0000 (UTC)
Date: 2004-05-08T12:10:37+00:00	[thread overview]
Message-ID: <c7iint$hit$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: q0Vmc.58459$mU6.237464@newsb.telia.net

Bj�rn Persson <spam-away@nowhere.nil> wrote:
: Well, I suppose the existence of that library is a good thing, but after 
: reading the introduction in unicode.ads I have to wonder whether it's 
: them or me who have misunderstood Unicode. It mentions "Utf32 Latin1" 
: and "Utf8 Latin2" strings. This looks really weird to me. You don't 
: encode Latin-1 in UTF-32 or Latin-2 in UTF-8. You encode Unicode in 
: UTF-8 or UTF-32, or you encode a subset of Unicode in Latin-1, or 
: another subset in Latin-2.

what is meant I think, is that there are Latin-1 characters that
as abstract characters have a code point in Unicode that corresponds
to some UTF32 encoded character.
They could as well be encoded using UTF8 or UTF16.
Latin_Capital_Letter_E_With_Acute is present in ISO 8859-1 as well
as in Unicode, and in Unicode, various bit combinations may be
used to encode it for a computer.
Unicode does have various Latin blocks, but I'm not sure about
the Latin-2 line either.

-- Georg



  parent reply	other threads:[~2004-05-08 12:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 22:12 UTF-8 in strings - a bug? Björn Persson
2004-05-05 23:31 ` Robert I. Eachus
2004-05-06  8:34   ` Björn Persson
2004-05-06  9:25     ` Ludovic Brenta
2004-05-06 17:13       ` Björn Persson
2004-05-06 18:24       ` Martin Krischik
2004-05-07 23:32         ` Björn Persson
2004-05-08  6:38           ` Martin Krischik
2004-05-08  7:44           ` Jacob Sparre Andersen
2004-05-08 11:06             ` Björn Persson
2004-05-08 16:25               ` Martin Krischik
2004-05-09 12:16                 ` Georg Bauhaus
2004-05-10  6:29                   ` Martin Krischik
2004-05-08 12:10           ` Georg Bauhaus [this message]
2004-05-06  9:06 ` David Starner
2004-05-06 17:36   ` Björn Persson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox