comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: IBM 437 encoded String to UTF-16 Wide_String
Date: Wed, 28 Nov 2012 05:51:58 -0800 (PST)
Date: 2012-11-28T05:51:58-08:00	[thread overview]
Message-ID: <309b8709-cbf0-4421-a2d0-10f22ea5667e@googlegroups.com> (raw)
In-Reply-To: <027679a1-dc5e-4888-9dd1-2a4ccf32e66c@googlegroups.com>

Le mercredi 28 novembre 2012 09:34:53 UTC+1, briot.e...@gmail.com a écrit :
> XML/Ada also has a few conversion packages, but not IBM 437.
> 
> I think the most convenient here would be to create a small binding to the iconv library. I believe it exists on most systems, although with slightly different interfaces. And it supports a huge number of encodings.
> 
> You basically need to bind three functions ("open", "iconv" and "close")

Thanks for that, it could be useful in another project.
In this case (Zip archives) there are two entry name encodings: UTF-8 and IBM 437. Now that latter is covered too, with a simple constant array(Character) of Wide_Character. No need to look further...
G.



      parent reply	other threads:[~2012-11-28 13:51 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-27 21:02 IBM 437 encoded String to UTF-16 Wide_String gautier_niouzes
2012-11-27 21:38 ` J-P. Rosen
2012-11-27 22:12 ` gautier_niouzes
2012-11-27 22:14 ` Dmitry A. Kazakov
2012-11-27 23:13   ` gautier_niouzes
2012-11-27 23:41 ` Vadim Godunko
2012-11-28  8:34   ` briot.emmanuel
2012-11-28  8:52     ` Dmitry A. Kazakov
2012-11-28  9:43       ` Georg Bauhaus
2012-11-28  9:58         ` Dmitry A. Kazakov
2012-11-28 11:31           ` Georg Bauhaus
2012-11-28 13:36             ` Dmitry A. Kazakov
2012-11-28 13:47               ` Georg Bauhaus
2012-11-28 14:23                 ` Dmitry A. Kazakov
2012-11-28 17:35                   ` Georg Bauhaus
2012-11-28 18:00                     ` Dmitry A. Kazakov
2012-11-29  9:51                       ` Georg Bauhaus
2012-11-29 10:52                         ` Dmitry A. Kazakov
2012-11-29 14:05                           ` Georg Bauhaus
2012-11-29 21:03                             ` Dmitry A. Kazakov
2012-11-29  3:18             ` Randy Brukardt
2012-11-28 13:51     ` gautier_niouzes [this message]
replies disabled

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