comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Rohan <michael@zanyblue.com>
Subject: Re: Ada.Directories and UTF-8 encoding ?
Date: Thu, 6 Dec 2012 09:56:17 -0800 (PST)
Date: 2012-12-06T09:56:17-08:00	[thread overview]
Message-ID: <583ae40d-0e99-4e2e-8ce7-4b476cc17561@googlegroups.com> (raw)
In-Reply-To: <6585ae1a-cb06-46d0-bae4-26a0b437e09b@googlegroups.com>

Hi,

I raised this issue a while ago.  Using UTF-8 encoded names appears to work
with the current packages (on my Linux system) but the Ada standard really
needs to be extended to have Wide_ versions of various file, directory,
etc, packages.

Take care,
Michael.

On Thursday, December 6, 2012 5:37:27 AM UTC-8, gautier...@hotmail.com wrote:
> 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




  parent reply	other threads:[~2012-12-06 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 13:37 Ada.Directories and UTF-8 encoding ? gautier_niouzes
2012-12-06 16:53 ` Dmitry A. Kazakov
2012-12-06 17:56 ` Michael Rohan [this message]
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