comp.lang.ada
 help / color / mirror / Atom feed
From: David Starner <dvdeug@email.ro>
Subject: Re: UTF-8
Date: Tue, 17 Feb 2004 02:05:45 GMT
Date: 2004-02-17T02:05:45+00:00	[thread overview]
Message-ID: <pan.2004.02.17.01.36.18.958408@email.ro> (raw)
In-Reply-To: Z-SdnZHinq4D3KzdRVn-ug@gbronline.com

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.




  reply	other threads:[~2004-02-17  2:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-15  0:25 AI-285 - Comment from Unicode list David Starner
2004-02-15 14:45 ` UTF-8 (was: AI-285 - Comment from Unicode list) Wes Groleau
2004-02-15 22:31   ` David Starner
2004-02-16 22:18     ` UTF-8 Wes Groleau
2004-02-17  2:05       ` David Starner [this message]
2004-02-17 13:39   ` UTF-8 Georg Bauhaus
2004-02-18  2:39     ` UTF-8 Wes Groleau
2004-02-18  2:40     ` UTF-8 Wes Groleau
replies disabled

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