3 ms·
What do you mean by "share files between machines"? Do you mean over a protocol? In that case the protocol over the wire should be well-defined and would avoid
by andreasvc 12y ago
What do you mean by "share files between machines"? Do you mean over a protocol? In that case the protocol over the wire should be well-defined and would avoid problems. If you mean by sharing files over an USB-stick then it's not so much an application problem as an OS issue.
I don't think the argument about machines wanting bytes is true. Machines will accept anything as long as it is well-defined. I'm really curious why there isn't yet some Linux or Posix standard that mandates utf-8. What's the problem with just decreeing that version +1 of the standard now expects utf-8?
- twic 12y agoWhat do you mean by "share files between machines"? Commit files into a repository on one machine. Move it to another on a USB stick, by FTP, with the DVCS's transport protocol, whatever. All of those result in repositories containing byte-for-byte identical commits. In that case the protocol over the wire should be well-defined and would avoid problems. Oh, all of these are well-defined. They're defined to produce filenames which comprise the same sequence of bytes everywhere. That's the problem! If you mean by sharing files over an USB-stick then it's not so much an application problem as an OS issue. Bear in mind that the problem is not what the OS does with the names of files being moved around, it's with what the DVCS does with the names that are embedded in the content of its data files.
- andreasvc 12y agoAh, thanks for clarifying.