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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d7340a24f4e8fef1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-16 18:05:46 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail From: David Starner Subject: Re: UTF-8 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity. (Debian GNU/Linux)) Message-Id: Newsgroups: comp.lang.ada References: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Tue, 17 Feb 2004 02:05:45 GMT NNTP-Posting-Host: 12.72.68.73 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1076983545 12.72.68.73 (Tue, 17 Feb 2004 02:05:45 GMT) NNTP-Posting-Date: Tue, 17 Feb 2004 02:05:45 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:5622 Date: 2004-02-17T02:05:45+00:00 List-Id: On Mon, 16 Feb 2004 17:18:09 -0500, Wes Groleau wrote: > To tell the truth, I'm not completely sure what > it is exactly that I want. :-) To read in UTF-8 > and turn them into Wide_String internally? > To read it into String as-is? Or ..... If you want to process them, loading them into String means you're going to have to write all the code to step to the next character and what not yourself. Of course, UTF-8 is designed to make a lot of processing easy. I've never really written a text handling program in Ada. The programs I've written treat messages as opaque blocks to be handed to gettext, in which case String is the way to go.