Re: [AD] unicode proposal |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On January 20, 2009, Elias Pschernig wrote:
> On Wed, 2009-01-21 at 12:32 +1100, Peter Wang wrote:
> > > Maybe we should just state in the documentation that filenames returned
> > > by Allegro are "display names", i.e. you can use them for displaying
> > > the filenames, but you can't expect that creating a new file with the
> > > same name will overwrite the existing one (if non-standard encodings
> > > are being used).
> >
> > If you read a directory, you might be able to display the filenames
> > but not be able to open them?
>
> I thought you get an ALLEGRO_FS_ENTRY for each file, so could use that.
> If that's not how it works, maybe we could make it like that - so you
> can get a "display name" for a file, but still retain the actual file
> handle (with the internal name).
Its how I've been intending to make it, didn't think anyone would like it
though. But the handles returned from readdir won't be opened (but will be
openable).
> --
> Elias Pschernig <elias@xxxxxxxxxx>
>
>
> ---------------------------------------------------------------------------
>--- This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx