Case preservation (original) (raw)
在计算机文件系统存储文件名称时,计算机有可能保留(保存)亦可能放弃信息。如果大小写差异被存储,则它被称作保留大小写(case preservation)。 不保留大小写的系统必然是不区分大小写,但一个系统也可能保留但不区分大小写。这种组合适宜人类理解,因为大多数人偏好使用正确的,但仍可识别其他人撰写的非标准写法。举例来说,如果某人写出“uNiTeD states oF AMERICA”,虽然大小写不正确,但可以认出是指United States of America(美利坚合众国)。 Mac OS X、目前版本的Microsoft Windows操作系统以及Amiga OS的所有版本在大多数情况下都是保留但不区分大小写。因为它们为不区分大小写,故以名称请求文件时可以使用任何大小写形式,这与区分大小写的系统不同。因为它们为保留大小写,所以查看文件名称时,将会看到创建文件时指定的大小写形式。在不保留大小写的系统中,则可能看到不同大小写,例如字母全部为大写或小写。另外,在不区分大小写但保留大小写的系统中,同一个文件夹中不能同时存在仅大小写不同的两个文件或文件夹,例如readme.txt与Readme.txt文件。 下表列出了各现有文件系统是否区分大小写以及是否保留大小写:
Property | Value |
---|---|
dbo:abstract | When a computer file system stores file names, the computer may keep or discard case information. When the case is stored, it is called case preservation. A system that is not case-preserving is necessarily case-insensitive, but it is possible and common for a system to be case-insensitive, yet case-preserving. This combination is often considered most natural for people to understand, because most people prefer using the correct capitalization but will still recognize others. For example, if someone refers to the "uNiTeD states oF AMERICA," it is understood to mean the United States of America, even though the capitalization is incorrect. macOS, current versions of the Microsoft Windows operating systems and all versions of Amiga OS are case-preserving and case-insensitive in most cases. Since they are case-insensitive, when requesting a file by name any capitalization can be used, in contrast to case-sensitive systems where only a single capitalization would work. But as they are case-preserving, when viewing a file's name it will be presented with the capitalization used when the file was created. On a non-case-preserving system, arbitrary capitalization would be displayed instead, such as all upper- or lower-case. Also, in case-insensitive but case preserving file systems there cannot be a readme.txt and a Readme.txt in the same folder. Examples of systems with various case-sensitivity and case-preservation exist among file systems: * v * t * e (en) 在计算机文件系统存储文件名称时,计算机有可能保留(保存)亦可能放弃信息。如果大小写差异被存储,则它被称作保留大小写(case preservation)。 不保留大小写的系统必然是不区分大小写,但一个系统也可能保留但不区分大小写。这种组合适宜人类理解,因为大多数人偏好使用正确的,但仍可识别其他人撰写的非标准写法。举例来说,如果某人写出“uNiTeD states oF AMERICA”,虽然大小写不正确,但可以认出是指United States of America(美利坚合众国)。 Mac OS X、目前版本的Microsoft Windows操作系统以及Amiga OS的所有版本在大多数情况下都是保留但不区分大小写。因为它们为不区分大小写,故以名称请求文件时可以使用任何大小写形式,这与区分大小写的系统不同。因为它们为保留大小写,所以查看文件名称时,将会看到创建文件时指定的大小写形式。在不保留大小写的系统中,则可能看到不同大小写,例如字母全部为大写或小写。另外,在不区分大小写但保留大小写的系统中,同一个文件夹中不能同时存在仅大小写不同的两个文件或文件夹,例如readme.txt与Readme.txt文件。 下表列出了各现有文件系统是否区分大小写以及是否保留大小写: (zh) |
dbo:wikiPageID | 1455303 (xsd:integer) |
dbo:wikiPageLength | 2277 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 1111865657 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:Capitalization dbr:Apple_File_System dbr:United_States_of_America dbc:Computer_file_systems dbr:Computer dbr:NTFS dbr:Letter_case dbr:MacOS dbr:Case-insensitive dbr:Ext4 dbr:File_Allocation_Table dbr:HFS_Plus dbr:File_system dbr:Microsoft_Windows dbr:Operating_system dbr:Unix_File_System dbr:Ext3 dbr:Amiga_OS dbr:File_systems |
dbp:auto | yes (en) |
dbp:date | December 2009 (en) |
dbp:wikiPageUsesTemplate | dbt:Compu-storage-stub dbt:Unreferenced_stub dbt:File_systems |
dct:subject | dbc:Computer_file_systems |
rdf:type | yago:WikicatComputerFileSystems yago:Abstraction100002137 yago:Arrangement105726596 yago:ClassificationSystem105727220 yago:Cognition100023271 yago:FileSystem105732614 yago:PsychologicalFeature100023100 yago:Structure105726345 |
rdfs:comment | 在计算机文件系统存储文件名称时,计算机有可能保留(保存)亦可能放弃信息。如果大小写差异被存储,则它被称作保留大小写(case preservation)。 不保留大小写的系统必然是不区分大小写,但一个系统也可能保留但不区分大小写。这种组合适宜人类理解,因为大多数人偏好使用正确的,但仍可识别其他人撰写的非标准写法。举例来说,如果某人写出“uNiTeD states oF AMERICA”,虽然大小写不正确,但可以认出是指United States of America(美利坚合众国)。 Mac OS X、目前版本的Microsoft Windows操作系统以及Amiga OS的所有版本在大多数情况下都是保留但不区分大小写。因为它们为不区分大小写,故以名称请求文件时可以使用任何大小写形式,这与区分大小写的系统不同。因为它们为保留大小写,所以查看文件名称时,将会看到创建文件时指定的大小写形式。在不保留大小写的系统中,则可能看到不同大小写,例如字母全部为大写或小写。另外,在不区分大小写但保留大小写的系统中,同一个文件夹中不能同时存在仅大小写不同的两个文件或文件夹,例如readme.txt与Readme.txt文件。 下表列出了各现有文件系统是否区分大小写以及是否保留大小写: (zh) When a computer file system stores file names, the computer may keep or discard case information. When the case is stored, it is called case preservation. A system that is not case-preserving is necessarily case-insensitive, but it is possible and common for a system to be case-insensitive, yet case-preserving. This combination is often considered most natural for people to understand, because most people prefer using the correct capitalization but will still recognize others. For example, if someone refers to the "uNiTeD states oF AMERICA," it is understood to mean the United States of America, even though the capitalization is incorrect. (en) |
rdfs:label | Case preservation (en) 保留大小写 (zh) |
owl:sameAs | freebase:Case preservation yago-res:Case preservation wikidata:Case preservation dbpedia-zh:Case preservation https://global.dbpedia.org/id/4futg |
prov:wasDerivedFrom | wikipedia-en:Case_preservation?oldid=1111865657&ns=0 |
foaf:isPrimaryTopicOf | wikipedia-en:Case_preservation |
is dbo:wikiPageDisambiguates of | dbr:Preservation |
is dbo:wikiPageRedirects of | dbr:Case-preserving |
is dbo:wikiPageWikiLink of | dbr:Case-preserving dbr:Preservation dbr:File_system dbr:Case_sensitivity |
is foaf:primaryTopic of | wikipedia-en:Case_preservation |