Re: [AD] unicode proposal |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
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).
--
Elias Pschernig <elias@xxxxxxxxxx>