comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: How to write text files in UTF8?
Date: Fri, 28 Jun 2002 14:59:23 +0200
Date: 2002-06-28T14:59:23+02:00	[thread overview]
Message-ID: <3D1C5DAB.F8F1D5BC@nbi.dk> (raw)
In-Reply-To: 3d1bf076$1@news.swissonline.ch

Mr. Error wrote:

> How to write text files in UTF8 in Ada95?

I think that one might argue that this is compiler
dependent. I think I have read that GtkAda 2 should include
routines for this, but you could try to implement it
yourself. If I should do it, I would look into how I can
write a "binary" stream of octets to a file, and then write
routines that map String and Wide_String to one or more
octets according to the UTF-8 specification.

Jacob
-- 
The great LEGO building competition of the year:
              http://www.1000steine.de/themen/bauwettbewerb/



  reply	other threads:[~2002-06-28 12:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-28  5:12 How to write text files in UTF8? erreur
2002-06-28 12:59 ` Jacob Sparre Andersen [this message]
2002-07-03 14:27   ` Georg Bauhaus
replies disabled

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