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 11:45:17 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!news.mindspring.net!not-for-mail From: Richard Riehle Newsgroups: comp.lang.ada Subject: Re: Text_IO on WinNT problem Date: Tue, 25 Sep 2001 11:48:04 -0700 Organization: AdaWorks Software Engineering Message-ID: <3BB0D164.A45229AE@adaworks.com> References: <3BB0AAFD.9F006F92@icn.siemens.de> <9oqfkg$a2g1@news.cis.okstate.edu> Reply-To: richard@adaworks.com NNTP-Posting-Host: 9e.fc.c4.1f Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Server-Date: 25 Sep 2001 18:44:49 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:13355 Date: 2001-09-25T18:44:49+00:00 List-Id: David Starner wrote: > Looking at the GNAT Reference manual, under Wide_Text_IO, there's no way > to load it in as Wide_Character. There's no standard way to handle it > with Text_IO - this seems like a fairly unusual case - but you could > always try reading them in one by one and discarding half of them. See Ada.Characters.Handling, ALRM, Annex A.3.2 function To_Character(Item : in Wide_Character; Substitute : in Character := ' ') return Character; and other useful functions for this kind of thing. Richard Riehle richard@adaworks.com