comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: Ada and UTF-8
Date: Thu, 28 Apr 2005 00:52:06 +0200
Date: 2005-04-28T00:51:51+02:00	[thread overview]
Message-ID: <42701787$0$10508$9b4e6d93@newsread4.arcor-online.net> (raw)
In-Reply-To: <7eb5ab14.0504271405.6468bd7e@posting.google.com>

skylendar wrote:
> An iso8859-1 ascii string can easily be converted into a Wide_String
> with the function To_Wide_String().
> 
> But I need to retrieve the UTF-8 image of such a Wide_String, and I
> don't know how to do that.

This should become available with more recent compilers.
Ada 2005 supports UTF-8 via ISO 10646.
Meanwhile you can find implementations of Wide_String to UTF-8 String
in the GNAT sources, in XML/Ada, and elsewhere.
There is also EAStrings and AdaCL.

Georg 



  reply	other threads:[~2005-04-27 22:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 22:05 Ada and UTF-8 skylendar
2005-04-27 22:52 ` Georg Bauhaus [this message]
2005-04-29 20:32   ` skylendar
2005-04-28  7:31 ` Dmitry A. Kazakov
replies disabled

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