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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,40843b637af826a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.224.111.140 with SMTP id s12mr12211001qap.5.1354110718316; Wed, 28 Nov 2012 05:51:58 -0800 (PST) Received: by 10.49.71.6 with SMTP id q6mr4016623qeu.10.1354110718280; Wed, 28 Nov 2012 05:51:58 -0800 (PST) Path: gf5ni29176300qab.0!nntp.google.com!i9no12007371qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 28 Nov 2012 05:51:58 -0800 (PST) In-Reply-To: <027679a1-dc5e-4888-9dd1-2a4ccf32e66c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 206.122.158.4 References: <11112110-03b1-4977-ba80-00204926ea23@googlegroups.com> <68663891-14ad-4780-a00d-1cc48ed75323@googlegroups.com> <027679a1-dc5e-4888-9dd1-2a4ccf32e66c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <309b8709-cbf0-4421-a2d0-10f22ea5667e@googlegroups.com> Subject: Re: IBM 437 encoded String to UTF-16 Wide_String From: gautier_niouzes@hotmail.com Injection-Date: Wed, 28 Nov 2012 13:51:58 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-11-28T05:51:58-08:00 List-Id: Le mercredi 28 novembre 2012 09:34:53 UTC+1, briot.e...@gmail.com a =E9crit= =A0: > XML/Ada also has a few conversion packages, but not IBM 437. >=20 > I think the most convenient here would be to create a small binding to th= e iconv library. I believe it exists on most systems, although with slightl= y different interfaces. And it supports a huge number of encodings. >=20 > 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 I= BM 437. Now that latter is covered too, with a simple constant array(Charac= ter) of Wide_Character. No need to look further... G.