From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,782076a3676d5d3e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-25 20:22:51 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: Text_IO on WinNT problem Date: 26 Sep 2001 02:39:23 GMT Organization: Oklahoma State University Message-ID: <9orf4r$8a22@news.cis.okstate.edu> References: <3BB0AAFD.9F006F92@icn.siemens.de> <9oqfkg$a2g1@news.cis.okstate.edu> <3BB0D164.A45229AE@adaworks.com> <9oqo67$8a21@news.cis.okstate.edu> <3BB10FE3.EC3B3F8B@raytheon.com> Reply-To: dstarner98@aasaa.ofe.org NNTP-Posting-Host: x8b4e53d2.dhcp.okstate.edu User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:13380 Date: 2001-09-26T02:39:23+00:00 List-Id: On Tue, 25 Sep 2001 18:14:43, Mark Johnson wrote: > Larry Kilgallen wrote: > >> In article <9oqo67$8a21@news.cis.okstate.edu>, David Starner 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"