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
| Andi Kleen | [PATCH] [9/18] Export prep_compound_page to the hugetlb allocator |
| David P. Quigley | [PATCH 07/11] NFS/SELinux: Add security_label text mount option to nfs and add han... |
| Stephen Hemminger | Re: Documentation files in html format? |
| Andi Kleen | [PATCH] [0/36] Great change_page_attr patch series v3 |
| drew | Re: Use PERL rather than C for system commands? |
| Jim Haynes | [ANSWER] Disk checking at bootup |
| Drew Eckhardt | Re: Questions of a lurker deciding whether to jump in |
| Linus Benedict Torvalds | Re: filesystems |
| Richard Wilson | OpenBSD in the webcomic XKCD |
| Chris Tankersley | Dell PERC 3/Di - No Disks Found |
| Andreas Kahari | Limiting CPU to a process or process group? |
| Sunnz | So, is there a sure way to delete a file? (Was Re: UNIX way of undeleting files?) |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| J. Bruce Fields | Re: svn versus git |
| David Tweed | Re: What is the idea for bare repositories? |
| Johannes Sixt | Re: [PATCH 1/2] Allow git-apply to fix up the line counts |
| Problem in scim in Fedora 9 | 13 minutes ago | Linux general |
| Firewall | 13 hours ago | OpenBSD |
| windows folder creation surprise | 16 hours ago | Windows |
| IP layer send packet | 1 day ago | Linux kernel |
| dtrace for linux available | 1 day ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 1 day ago | Linux kernel |
| RealTek RTL8169 - can't connect | 2 days ago | NetBSD |
| vsftpd Upload Problems | 2 days ago | Linux general |
| creating con folder in desktop | 2 days ago | Windows |
| Question about PFRA, dirty page cache, and tmpfs/swap | 2 days ago | Linux kernel |
