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!news4.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!amsnews11.chello.com!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-Id: <1220629.5SNnNGaTIf@linux1.krischik.com> From: Martin Krischik Subject: Re: [ranting] Take Command Plugin, Win32Ada and Ada.Directories Newsgroups: comp.lang.ada Date: Wed, 14 Nov 2007 19:38:32 +0100 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> <19x2od13tuh2a$.1lpcr349f44yp$.dlg@40tude.net> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.75.167.107 (84.75.167.107) NNTP-Posting-Date: Wed, 14 Nov 2007 19:45:11 +0100 X-Trace: 950cd473b4237f1ee02ce09258 Xref: g2news1.google.com comp.lang.ada:18384 Date: 2007-11-14T19:38:32+01:00 List-Id: Dmitry A. Kazakov wrote: >> Not just Ada.Directories - any package where a file name is needed. >> And not just Win32 - any platform which supports UTF-8 file names. > > Sure. > > One formal problem is that Character is specified as Latin-1. Sure - but then there is allways the BOM [1] 16#EFBBBF# would mark the string UTF-8. But I guess it would be an enormous effort to support two file name string types - one Latin-1 and another UTF-8 - and to find out which one you got you need the check the first 3 characters. Martin [1] http://en.wikipedia.org/wiki/Byte_Order_Mark -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com