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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9a4a153357345e17,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.111.140 with SMTP id s12mr1539874qap.5.1354801048072; Thu, 06 Dec 2012 05:37:28 -0800 (PST) Received: by 10.49.94.143 with SMTP id dc15mr212601qeb.32.1354801048042; Thu, 06 Dec 2012 05:37:28 -0800 (PST) Path: gf5ni47564750qab.0!nntp.google.com!c8no1650876qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Dec 2012 05:37:27 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.122.158.4; posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG NNTP-Posting-Host: 206.122.158.4 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6585ae1a-cb06-46d0-bae4-26a0b437e09b@googlegroups.com> Subject: Ada.Directories and UTF-8 encoding ? From: gautier_niouzes@hotmail.com Injection-Date: Thu, 06 Dec 2012 13:37:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-12-06T05:37:27-08:00 List-Id: Hello, Question: is there a support for UTF-8-encoded file names in Ada.Directories, either mentioned in the RM 2005, 2012, or in some implementations ? For instance only Copy_File has a Form parameter and on GNAT GPL 2012 it seems to ignore "encoding=utf-8". For Copy_File, Delete_File ans Rename it doesn't bother me since I plan anyway an own implementation, using Stream_IO where the form "encoding=utf-8" is working, at least on GNAT. For a directory search using Search it would be nice to have utf-8 working (not tested yet; I'll give a try with the Rosetta code: http://rosettacode.org/wiki/Walk_a_directory/Recursively#Ada ). Cheers _________________________ Gautier's Ada programming http://gautiersblog.blogspot.com/search/label/Ada NB: follow the above link for a valid e-mail address