comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Ada.Directories problems, a summary
Date: Thu, 1 Jan 2009 15:29:46 +0100
Date: 2009-01-01T15:29:51+01:00	[thread overview]
Message-ID: <4445uxtnsu70.jvzdrw7u4rs4$.dlg@40tude.net> (raw)
In-Reply-To: Pine.WNT.4.64.0901011400350.21104@abril

On Thu, 1 Jan 2009 14:05:07 +0000, Colin Paul Gloster wrote:

> A different name encoding scheme might suit some other file system
> type better, but may be such peculiarities would be better dealt with
> libraries specific to those platforms instead of a fairly general
> Ada standard.

But Ada is already Unicode, which incorporates all possible schemes. I
don't see why there should be any platform dependence here. When a file
name is illegal there is already Name_Error exception here.

Applications practically never generate file names from scratch. They
compose them out of existing elements, such as directory path, simple name,
extension, user input. They just do not need to know anything about how
file names get ultimately encoded on the disk.

(Ada.Directories could provide some Character_Set (Wide_Wide_Character)
constants for valid file name characters etc.)

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2009-01-01 14:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 11:16 Ada.Directories problems, a summary Dmitry A. Kazakov
2009-01-01 13:47 ` Ivan Levashew
2009-01-01 14:15   ` Dmitry A. Kazakov
2009-01-02 14:22     ` Ivan Levashew
2009-01-02 14:49       ` Dmitry A. Kazakov
2009-01-02 22:33         ` Colin Paul Gloster
2009-01-03  9:08           ` Dmitry A. Kazakov
2009-01-05 10:01       ` Jean-Pierre Rosen
2009-01-02 22:57     ` Randy Brukardt
2009-01-03  9:39       ` Dmitry A. Kazakov
2009-01-06  1:23         ` Randy Brukardt
2009-01-06  1:23         ` Randy Brukardt
2009-01-06 10:41           ` Dmitry A. Kazakov
2009-01-01 13:56 ` Dmitry A. Kazakov
2009-01-01 14:05 ` Colin Paul Gloster
2009-01-01 14:29   ` Dmitry A. Kazakov [this message]
2009-01-01 20:41 ` anon
2009-01-02 11:22   ` Colin Paul Gloster
2009-01-02 10:22 ` Georg Bauhaus
2009-01-02 11:09   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox