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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,56eaedca4e83c07c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!j4g2000yqa.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Standard file operations parameter restricted to names of type string Date: Fri, 2 Oct 2009 09:26:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 86.66.190.205 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1254500812 19399 127.0.0.1 (2 Oct 2009 16:26:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 2 Oct 2009 16:26:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j4g2000yqa.googlegroups.com; posting-host=86.66.190.205; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8573 Date: 2009-10-02T09:26:52-07:00 List-Id: Hello boys and girls, I still apologize to not be often here, like a ghost... any way, my two cents question is there whatever : Why is there no way with Ada's predefined packages to open a file specifying a Wide_Wide_String name ? Voil=E0, so short My two cents rational : if not all environments may support Wide_Wide_String, if it, as an example, only supports standard String file names, it could just handle this as an existing file whenever the Wide_Wide_String name contains any Wide_Wide_Character not in the range of Character (or if it support Wide_String name only, it could do the same, with the Wide_Character range). Or may be missed something about possibly existing rational which would make the restriction to String an mostly obvious choice. Read you soon Yannick P.S. I've got an application, written in Ada (on Windows), which sadly raise an exception each times it meets a file name containing some character code points in particular. Unfortunately, it does file indexing (a little thing I've designed to help someone), so I cannot see restriction on file names as a good way to solve it. This was not te origin of my question in this topic, while it is related.