[darcs-users] Default binary masks
Sean E. Russell
ser at germane-software.com
Sat Nov 22 22:59:04 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 22 November 2003 15:42, Marnix Klooster wrote:
> This triggers something else: what about Unicode? Microsoft Visual Studio
> tools tend to use Unicode configuration files (I think UTF-16), which by
I know this is a little off-topic, but WTF? Why would they choose UTF-16?
> Studio as well.) It would be nice to at least recognize files starting with
> bytes FFFE or FEFF (hex), since these are most probably UTF-16 files. But
> perhaps I'm opening a can of worms here :-)
Hm. Does darcs do any sort of byte-level investigation of files? I thought
it relied on file endings.
> One way to do this would be to store the following properties for every
> file, or for each group of file names (using regexps):
Store properties for every file "based on file ending"? Or must the user
specify, when they add a file, what the character encoding and line ending
encoding is? It isn't possible to programmatically determine the encoding
from the byte-stream, of course, even if you know that you're working with
non-binary files.
- --
### SER
### Deutsch|Esperanto|Francaise|Linux|XML|Java|Ruby|Aikido|Dirigibles
### http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737
### GPG: http://www.germane-software.com/~ser/Security/ser_public.gpg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/v+pDP0KxygnleI8RAuYpAJ4w9UKBediRAXyL+GVyAc9vAg9EnwCeLOy4
UcGYQRUrmu0wGwrS9ymBnA4=
=hl+Q
-----END PGP SIGNATURE-----
More information about the darcs-users
mailing list