From: gautier_niouzes@hotmail.com
Subject: Ada.Directories and UTF-8 encoding ?
Date: Thu, 6 Dec 2012 05:37:27 -0800 (PST)
Date: 2012-12-06T05:37:27-08:00 [thread overview]
Message-ID: <6585ae1a-cb06-46d0-bae4-26a0b437e09b@googlegroups.com> (raw)
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
next reply other threads:[~2012-12-06 13:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 13:37 gautier_niouzes [this message]
2012-12-06 16:53 ` Ada.Directories and UTF-8 encoding ? Dmitry A. Kazakov
2012-12-06 17:56 ` Michael Rohan
2012-12-10 23:28 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox