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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,347f7cbe27451012 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: [ranting] Take Command Plugin, Win32Ada and Ada.Directories Date: Wed, 14 Nov 2007 14:15:12 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <473af503$1@news.post.ch> References: <3343563.psPA6e9Oqh@linux1.krischik.com> <1pkwbr5s12cf9$.9k2umlcxqzbr.dlg@40tude.net> <473A1241.90702@obry.net> <1vrktz0rlauvu.1nm0xh8n2wl90.dlg@40tude.net> <473ab86d$1@news.post.ch> <473ac065$0$16659$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1195046151 28697 194.41.146.1 (14 Nov 2007 13:15:51 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Wed, 14 Nov 2007 13:15:51 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <473ac065$0$16659$9b4e6d93@newsspool3.arcor-online.net> X-Original-NNTP-Posting-Host: w03duo.pnet.ch X-Original-Trace: 14 Nov 2007 14:15:47 +0200, w03duo.pnet.ch Xref: g2news1.google.com comp.lang.ada:18370 Date: 2007-11-14T14:15:12+01:00 List-Id: Georg Bauhaus schrieb: > Martin Krischik wrote: > >> Introducing Wide_String but then *not* introducing it for file names was >> the mistake. If only as an optional features for platforms which support >> Wide_String (or Wide_Wide_Sting) file names. > > package IConv is > > -- the missing link to, e.g. > -- http://www.gnu.org/software/libiconv/ > > end IConv; Not very helpful for a plug-in which is supposed to run under Windows. First a plug-in should have a small memory food print and libgnat.dll is bad enough as it is. And then libiconv is a Unix-like tool. Currently I use Ada.Characters.Conversions - but that won't be all that useful for UTF8 <-> UTF-16 conventions. Well Win32Ada has some functions which can do the trick - Only they are Win32 functions and as such a pain to use. And -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com