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,5bcc293dc5642650 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.31.73 with SMTP id y9mr1241436pbh.0.1318913174451; Mon, 17 Oct 2011 21:46:14 -0700 (PDT) Path: d5ni25224pbc.0!nntp.google.com!news2.google.com!postnews.google.com!h23g2000pra.googlegroups.com!not-for-mail From: ytomino Newsgroups: comp.lang.ada Subject: Re: Why no Ada.Wide_Directories? Date: Mon, 17 Oct 2011 21:46:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <58a8ef13-4b67-4548-b20e-469991e445d8@h23g2000pra.googlegroups.com> References: <9937871.172.1318575525468.JavaMail.geo-discussion-forums@prib32> <418b8140-fafb-442f-b91c-e22cc47f8adb@y22g2000pri.googlegroups.com> <7156122c-b63f-487e-ad1b-0edcc6694a7a@u10g2000prl.googlegroups.com> <409c81ab-bd54-493b-beb4-a0cca99ec306@p27g2000prp.googlegroups.com> NNTP-Posting-Host: 118.6.135.155 Mime-Version: 1.0 X-Trace: posting.google.com 1318913174 23966 127.0.0.1 (18 Oct 2011 04:46:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 18 Oct 2011 04:46:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h23g2000pra.googlegroups.com; posting-host=118.6.135.155; posting-account=Mi71UQoAAACnFhXo1NVxPlurinchtkIj User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKUARELSC X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1,gzip(gfe) Xref: news2.google.com comp.lang.ada:14022 Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-10-17T21:46:13-07:00 List-Id: Well...If my supplement is allowed, in my honest opinion ignoring the existing way of Ada, "File_Name_String" is better. (In addition, It's welcome that UTF_8_String and UTF_16_String be new types like Yannick says.) File_Name_String is UTF-8 on OSX(if only using POSIX API), UTF-16 on Windows and localized string on BSD (I18N of BSD is unique!). And Equal_File_Names/Less_File_Names are necessity. Ada.Directories.Name_Case_Equivalence is useless because case insensitive rules between NTFS and NFS+ are different. (I had implemented case insensitive rules of NFS+. It's difficult and required the different table from UCD. NTFS is easier because CompareString API can be used for this purpose. CoreFoundation possibly have usable function, too. But I do not know. Anyway, these are not portable. I want standard library wrapping these.) It's just supposed story ignoreing existing way. I may be satisfied if Form parameter is usable.