3 ms·
I miss falsehoods about pathnames: * That there's never a \0 in a pathname wchar names on MSWin UNICODE and WinCE. Symbian uses UTF16. * That paths are seper
by rurban 10y ago
I miss falsehoods about pathnames:
* That there's never a \0 in a pathname
wchar names on MSWin UNICODE and WinCE.
Symbian uses UTF16.
* That paths are seperated by /
Yes, Windows NT accepts /, VMS, VOS, RISC OS also,
but MacOS classic had :, and VMS uses [].
And there are still \ pathseps only, like DOS, OS/2, SYMBIAN, Novell NETWARE, AmigaOS4.
Native Acorn RISC OS uses . as pathsep and : as in DOS.
Just the easiest ones.
- Bouncingsoul1 10y ago"* That paths are seperated by /" The day I learnded that Korean Windows version uses a Won sign and Japanes use a Yen sign was very bad day.
- vidarh 10y agoAmigaOS paths are separated with "/" between directory elements, not "\", but with a volume name separate from the path name with a ":", similar to Windows. But what makes matters more complicated, is that on AmigaOS "/" is equivalent to "." on Unix systems, and "//" equivalent to "..", and "."/".." are legal filenames. AmigaOS doesn't have an equivalent to "/" in Unix (everything is rooted in a volume, and there are many volumes), but ":" can be used to prefix a path to make it relative to the root of the current volume... It breaks all kinds of assumptions people make..