comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Wide Character Problem in Ada.Numerics
Date: 26 Apr 2007 18:47:24 -0700
Date: 2007-04-26T18:47:24-07:00	[thread overview]
Message-ID: <1177638444.803713.97340@t38g2000prd.googlegroups.com> (raw)
In-Reply-To: <4630F784.6060208@obry.net>

On Apr 26, 12:03 pm, Pascal Obry <pas...@obry.net> wrote:
> David Smith a écrit :
>
> >> Did you try -gnatif option ?
>
> > That worked, but I don't understand why.
>
> GNAT User's Guide section 3.2.10 Character Set Control :
>
> -gnati<c>
>
>    f
>        Full upper-half codes allowed in identifiers

I still don't understand why this would work...  upper half of what?
I'd assume "upper-half" refers to characters in the 16#A0#..16#FF#
range, but the original poster had problems when it processed a Greek
"pi" in a runtime source, which isn't in the upper half of anything
(unless you count ISO-8859-7, the Greek alphabet!).  It's certainly
not anywhere in Latin-1 (ISO-8859-1).  And I doubt that "upper-half"
means the upper half of Unicode (16#8000#..16#FFFD#?), which I believe
would start somewhere in the middle of the Chinese character set.  So
why would -gnatif magically make pi work?  Mighty strange.........

                                       -- Adam





  parent reply	other threads:[~2007-04-27  1:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23 21:29 Wide Character Problem in Ada.Numerics david.smith
     [not found] ` <462daae8$1@news.post.ch>
2007-04-24  8:03   ` Jean-Pierre Rosen
2007-04-24 16:35     ` Adam Beneschan
2007-04-25  8:28       ` Maciej Sobczak
2007-04-25  9:02       ` Jean-Pierre Rosen
2007-04-26  0:27         ` Brian May
2007-04-26 17:43           ` Adam Beneschan
2007-04-27  0:35             ` Brian May
2007-04-27 12:08             ` Jean-Pierre Rosen
2007-04-27 15:41               ` Adam Beneschan
2007-04-27 16:43                 ` Ray Blaak
2007-04-27 19:04                   ` Randy Brukardt
2007-04-25 10:01       ` Markus E Leypold
2007-04-24  9:16   ` Georg Bauhaus
2007-04-24 17:54 ` Pascal Obry
2007-04-26  2:31   ` David Smith
2007-04-26 19:03     ` Pascal Obry
2007-04-26 19:41       ` Georg Bauhaus
2007-04-26 20:30         ` Pascal Obry
2007-04-27  1:47       ` Adam Beneschan [this message]
2007-04-27  2:51         ` David Smith
replies disabled

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