[syslinux] COMBOOT API: Add calls for directory functions; Implement for FAT
H. Peter Anvin
hpa at zytor.com
Fri Dec 5 13:49:35 PST 2008
Jernej Simončič wrote:
> On Friday, December 5, 2008, 21:47:47, H. Peter Anvin wrote:
>
>> Right, of course... '?' is an illegal filename character in Windoze.
>
> '?' would probably make more sense, since the error message was a bit
> misleading, and when just a single file was underscored this way, it
> wasn't immediately obvious what was the problem.
>
>> There is a third option, which might be better, actually: if the
>> filename contains a character we can't make out, return the shortname
>> for that file. The shortname will always be representable.
>
> The short filenames can still contain high ASCII characters, though
> they're limited to the ANSI codepage on the system (at least on
> Windows - I never tried how Linux handles this). Interestingly, using
> short filenames is also the only way to access files with Unicode
> filenames on NT when running legacy applications.
>
The point is that they're always 8-bit filenames (inherently), which
means we can represent them using 8-bit characters. The fact that
they're "high ASCII" (an oxymoron, non-ASCII is more correct) doesn't
matter.
-hpa
More information about the Syslinux
mailing list