大写/小写的文件名被认为是相同的
Windows(Windows 10)中的文件和文件夹名称记录在UTF-16 LE中。而且异常,
A和A
B和B
C和C
... Z和Z
被认为是相同的字符。例如,我们无法在同一文件夹中生成abc.txt和abc.txt(没有特殊方法)。
我的问题是,这26对是唯一的例外吗?
File and folder names in Windows (Windows 10) are recorded in UTF-16 LE. And exceptionally,
A and a
B and b
C and c
...
Z and z
are regarded as the same character. For example, we cannot generate abc.txt and aBc.txt in a same folder(without special method).
My question is, are these 26 pairs the only exceptions ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,这不仅仅是ASCII。 NTFS量存储在一个名为
$ upcase
。这意味着,在同一台机器上的不同体积上,实际映射可能会有所不同(如果上述卷上有不同的NTFS版本)。Windows本身以多种方式处理案例灵敏度。
fsutil文件setCaseSisesiveInfo ...
的文件夹上的病例敏感性。No, it is not just ASCII. NTFS volumes store the mapping in a hidden special file named
$UpCase
. This means that the actual mapping can be different on different volumes on the same machine (if there are different NTFS versions on said volumes).Windows itself handles case sensitivity in multiple ways.
fsutil file setCaseSensitiveInfo ...
.