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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, 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-7-bit Received: by 10.224.105.205 with SMTP id u13mr11876993qao.6.1354091694155; Wed, 28 Nov 2012 00:34:54 -0800 (PST) Received: by 10.49.71.135 with SMTP id v7mr3952886qeu.28.1354091694092; Wed, 28 Nov 2012 00:34:54 -0800 (PST) Path: gf5ni22690075qab.0!nntp.google.com!i9no11868140qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 28 Nov 2012 00:34:53 -0800 (PST) In-Reply-To: <68663891-14ad-4780-a00d-1cc48ed75323@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=194.98.77.125; posting-account=6yLzewoAAABoisbSsCJH1SPMc9UrfXBH NNTP-Posting-Host: 194.98.77.125 References: <11112110-03b1-4977-ba80-00204926ea23@googlegroups.com> <68663891-14ad-4780-a00d-1cc48ed75323@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <027679a1-dc5e-4888-9dd1-2a4ccf32e66c@googlegroups.com> Subject: Re: IBM 437 encoded String to UTF-16 Wide_String From: briot.emmanuel@gmail.com Injection-Date: Wed, 28 Nov 2012 08:34:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-11-28T00:34:53-08:00 List-Id: 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")