From: "Björn Persson" <spam-away@nowhere.nil>
Subject: Re: Avatox 1.0: Trouble with encoding in Windows
Date: Wed, 13 Sep 2006 18:28:00 GMT
Date: 2006-09-13T18:28:00+00:00 [thread overview]
Message-ID: <Q4YNg.16387$E02.6433@newsb.telia.net> (raw)
In-Reply-To: <4507de42@news.upm.es>
Manuel Collado wrote:
> Sorry, the use of [Wide_]Wide_Strings doesn't imply anything about
> encoding.
ARM95 3.5.2(3) says:
"The predefined type Wide_Character is a character type whose values
correspond to the 65536 code positions of the ISO 10646 Basic
Multilingual Plane (BMP)."
This is essentially unchanged in the draft Ada 2005 standard. Paragraph
3.5.2(3/2) says:
"The predefined type Wide_Character is a character type whose values
correspond to the 65536 code positions of the ISO/IEC 10646:2003 Basic
Multilingual Plane (BMP)."
And the next paragraph, 3.1/2, adds:
"The predefined type Wide_Wide_Character is a character type whose
values correspond to the 2147483648 code positions of the ISO/IEC
10646:2003 character set."
This means that a Wide_String is UCS-2LE on a little-endian machine and
UCS-2BE on a big-endian machine, and a Wide_Wide_String is UCS-4LE or
UCS-4BE.
> To solve the problem a translation is required from the original source
> file encoding to a specific standard encoding (Unicode?)
Unicode is not a character encoding. Unicode defines several encodings.
Anyway, the standard encoding you're asking for is Wide_String,
according to Randy. (I won't be surprised if Gnat does the translation
wrong though.)
--
Bj�rn Persson PGP key A88682FD
omb jor ers @sv ge.
r o.b n.p son eri nu
next prev parent reply other threads:[~2006-09-13 18:28 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-11 8:24 Avatox 1.0: Trouble with encoding in Windows Manuel Collado
2006-09-11 10:35 ` Georg Bauhaus
2006-09-11 13:49 ` Avatox 1.1: " Manuel Collado
2006-09-11 16:43 ` Georg Bauhaus
2006-09-11 17:50 ` Björn Persson
2006-09-12 0:06 ` Marc A. Criley
2006-09-12 8:35 ` Manuel Collado
2006-09-13 0:01 ` Avatox 1.0: " Randy Brukardt
2006-09-13 9:01 ` Georg Bauhaus
2006-09-13 19:28 ` Björn Persson
2006-09-14 6:34 ` Georg Bauhaus
2006-09-14 23:09 ` Björn Persson
2006-09-14 22:13 ` Björn Persson
2006-09-16 7:40 ` Martin Krischik
2006-09-16 9:43 ` Björn Persson
2006-09-16 9:59 ` Georg Bauhaus
2006-09-16 11:15 ` Björn Persson
2006-09-17 9:30 ` Martin Krischik
2006-09-13 10:32 ` Manuel Collado
2006-09-13 18:28 ` Björn Persson [this message]
2006-09-14 8:11 ` Manuel Collado
2006-09-13 23:05 ` Randy Brukardt
2006-09-13 11:04 ` vgodunko
2006-09-14 8:56 ` Martin Krischik
2006-09-14 21:16 ` Jeffrey R. Carter
2006-09-14 22:55 ` Björn Persson
2006-09-15 23:15 ` Jeffrey R. Carter
2006-09-16 7:38 ` Martin Krischik
2006-09-17 19:41 ` Jeffrey R. Carter
2006-09-15 5:47 ` Martin Krischik
2006-09-15 23:16 ` Jeffrey R. Carter
2006-09-16 7:31 ` Martin Krischik
2006-09-17 19:43 ` Jeffrey R. Carter
2006-09-15 9:41 ` Georg Bauhaus
2006-09-15 23:28 ` Jeffrey R. Carter
2006-09-16 9:52 ` Georg Bauhaus
2006-09-16 10:31 ` Björn Persson
2006-09-17 19:57 ` Jeffrey R. Carter
2006-09-18 0:06 ` Björn Persson
2006-09-18 20:14 ` Jeffrey R. Carter
2006-09-16 5:10 ` Simon Wright
2006-09-15 18:11 ` Pascal Obry
2006-09-15 18:53 ` Dmitry A. Kazakov
2006-09-15 22:29 ` Georg Bauhaus
2006-09-16 7:46 ` Dmitry A. Kazakov
2006-09-15 23:35 ` Jeffrey R. Carter
2006-09-15 5:34 ` Simon Wright
2006-09-12 9:52 ` Stephen Leake
2006-09-19 1:16 ` Marc A. Criley
2006-09-19 9:20 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox