On Wed, Jan 16, 2008 at 03:39:36PM -0500, Kevin Ballard wrote:There is no technical reason for *kernel* to care about file name encoding. It is something that can be and should be dealt with in the user space (except some special cases like smbfs). And also because a user space program can deal with it much more gracefully... Wrong. If you have a policy that all file names are stored in UTF-8 encoding then there is no problem here. It should not be a kernel problem to care about encoding, besides you cannot fully solve it in the kernel space anyway... Yeah, right... Like Microsoft likes to "standardize" everything, which in practice means forcing on others something fundamentally broken and that does not follow any existing standard precisely: === IMPORTANT: The terms used in this Q&A, decomposed and precomposed, roughly correspond to Unicode Normal Forms D and C, respectively. However, most volume formats do not follow the exact specification for these normal forms. === http://developer.apple.com/qa/qa2001/qa1173.html Not to mention that the use of decomposed Unicode as the standard is outright silly -- no sane person writes in "decomposed" Unicode... Somehow I have no problem with displaying non-ASCII names on Linux. I can see both Unicode Normal Forms C and D encoded symbols without any problem, though the kernel is completely unaware about them. As you typed them, they both are exactly the same, and both of them are in the Normal Forms C (which Mac calls as precomposed). So why do you use one encoding in your writings and the other in your file names? I am sure everyone here is scared to death... I mean we have used to hear such threats from some MS salespeople, but from a Mac guy? It is really scare.... Wake up, and stop shooting this nonsense at us. If you have technical reasons why your solution is better, let us know. So far, you do not sound very convincing here. Why do think that the issue of encoding can not be dealt with in the user space? Why does Mac OS X uses so-called decomposed Unicode, which even does not follow any standard precisely? Why does Mac OS X chose to decompose characters while it does not solve any real issue? I suppose it would be much better a subject for discussion... At least, it would be more likely to result in that Git working better on your OS. First, no one called Mac OS X insane, but case insensitive filesystems, and there are good reasons to think so, because no one has demonstrated so far any advantage of that approach, but disadvantages are quite obvious to anyone -- comparison of a stored file list with readdir() is much more problematic, and you cannot say that you have solved the problem with encoding if you force other people to *duplicate* some logic that Mac OS X does in its kernel just to get things working... So, no one thinks it is insane because it is different, but because it requires much more efforts to do the same thing -- compare two file lists, and this operation is important for Git to work properly... Dmitry - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Andrew Morton | -mm merge plans for 2.6.23 |
| Rafael J. Wysocki | [Bug #11207] VolanoMark regression with 2.6.27-rc1 |
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Con Kolivas | [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
git: | |
| Gregory Haskins | [RFC PATCH 03/17] vbus: add connection-client helper infrastructure |
| David Woodhouse | [PATCH 03/30] solos: FPGA and firmware update support. |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
