monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Monotone-devel] Is the windows port active?


From: Nuno Lucas
Subject: Fwd: [Monotone-devel] Is the windows port active?
Date: Mon, 28 Jan 2008 03:18:10 +0000

[pressed reply instead of reply all]

On Jan 27, 2008 9:27 AM, Václav Haisman <address@hidden> wrote:
> Nuno Lucas wrote, On 27.1.2008 6:58:
> [...]
> > Unicode. It should behave like the linux and windows kernel, where
> > file names are treated like blob's (with a few restrictions).
> Windows does not treat file names as blobs and neither does Linux. Windows
> uses UCS-2 and recently also UTF-16. And Linux does not treat file names as
> blobs either, since AFAIK you cannot use say UTF-16 because of embedded \0.

Blob is not the good term, sorry. "Encoding agnostic" could be a
better description.
The Linux kernel doesn't care what the encoding is (it's up to the
file system to do what it wants with the passed path) and Windows is
"Unicode based", as can be seen here:

http://blogs.msdn.com/michkap/archive/2006/09/10/748699.aspx

and here:

http://blogs.msdn.com/michkap/archive/2005/10/17/481600.aspx

[Michael Kaplan is an internationalization expert at Microsoft]

Any way, '\0' could be defined as just a restriction for a blob, as I said.

It's a known fact that you can create a file name on a windows program
that can't be used by the shell, because the shell adds more
restrictions than the API.


Best regards,
~Nuno Lucas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]