comp.lang.ada
 help / color / mirror / Atom feed
From: David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu>
Subject: Re: Text_IO on WinNT  problem
Date: 26 Sep 2001 02:39:23 GMT
Date: 2001-09-26T02:39:23+00:00	[thread overview]
Message-ID: <9orf4r$8a22@news.cis.okstate.edu> (raw)
In-Reply-To: 3BB10FE3.EC3B3F8B@raytheon.com

On Tue, 25 Sep 2001 18:14:43, Mark Johnson <mark_h_johnson@raytheon.com> wrote:
> Larry Kilgallen wrote:
> 
>> In article <9oqo67$8a21@news.cis.okstate.edu>, David Starner <dvdeug@x8b4e53cd.dhcp.okstate.edu> writes:
>>
>> > As I pointed out, GNAT can't read in UTF-16LE using Wide_Text_IO.
>>
>> Why is that ?  (asked by somebody who does not know GNAT)

Because it hasn't been implemented yet?
 
> A quick look at the GNAT reference manual describes six different encoding schemes - none of which appear
> to look like UTF-16LE. I don't have enough background to tell if one of the following matches UTF-16LE or
> not.... After reading the description that goes with each one, my guess is not.
[...]
> I'll assume the original author may have already gone down that path.

Yep. Basically, the only real Unicode encoding that GNAT can read in
is UTF-8. 

> Another alternative is to request the enhancement (assuming ACT support).

To someone familar with GNAT, the addition would probably take less than
an hour. If someone with a contract requested it, it would probably be
added promptly. I have considered doing some minor GNAT hacking for 
more Unicode support, when it gets into GCC. I may try adding this then.

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
When the aliens come, when the deathrays hum, when the bombers bomb,
we'll still be freakin' friends. - "Freakin' Friends"



      reply	other threads:[~2001-09-26  2:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-25 16:04 Text_IO on WinNT problem Alfred Hilscher
2001-09-25 16:13 ` Lutz Donnerhacke
2001-09-25 18:07   ` David Botton
2001-09-25 17:36 ` Ted Dennison
2001-09-25 17:41 ` David Starner
2001-09-25 18:48   ` Richard Riehle
2001-09-25 20:07     ` David Starner
2001-09-25 21:44       ` Larry Kilgallen
2001-09-25 23:14         ` Mark Johnson
2001-09-26  2:39           ` David Starner [this message]
replies disabled

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