[1] [DFN[ASCII [RUBYB[大文字・小文字不区別]@en[case‐insensitive]]]]とは、 [[ASCII]] に含まれる[[ラテン文字]]について、それらに限り[[大文字]]と[[小文字]]を区別しないことをいいます。 * 仕様書 -[2] [[Web Applications 1.0]] -- * 仕様書から >Comparing two strings in an [DFN[ASCII case-insensitive]] manner means comparing them exactly, code point for code point, except that the characters in the range [CODE(char)[[[U+0041]]]] to [CODE(char)[[[U+005A]]]] (i.e. [CODE(charname)@en[[[LATIN CAPITAL LETTER A]]]] to [CODE(charname)@en[[[LATIN CAPITAL LETTER Z]]]]) and the corresponding characters in the range [CODE(char)[[[U+0061]]]] to [CODE(char)[[[U+007A]]]] (i.e. [CODE(charname)@en[[[LATIN SMALL LETTER A]]]] to [CODE(charname)@en[[[LATIN SMALL LETTER Z]]]]) are considered to also match. ;; [[Web Applications 1.0]] より * 関連 [3] [[ASCII大文字・小文字不区別]]より大雑把な比較方法として、[[互換性大文字・小文字不区別]]があります。 * メモ [4] [[Unicode]] には [[ASCII]] [[文字]]以外の[[ラテン文字]]や[[ラテン文字]]以外の[[アルファベット]]も含まれますが、 [[ASCII大文字・小文字不区別]]な比較では、[[ASCII]] の26組のみが同一視され、それ以外はすべて互いに異なる[[文字]]とみなされます。 [5] [[Unicode]] には [CODE(char)[[[U+0130]]]]、[CODE(char)[[[U+0131]]]] の2つの[[文字]]が場合によっては [[ASCII]] の [CODE(char)[[[I]]]] や [CODE(char)[[[i]]]] と同一視されますが、[[ASCII大文字・小文字不区別]]な比較では同一視''されません''。 [6] [[HTML]] では、[[大文字]]と[[小文字]]の区別の必要がないほとんどすべての場面で、 [[ASCII大文字・小文字不区別]]な比較が行われます。 [7] [CITE@en[RFC 1958 - Architectural Principles of the Internet]] ( ([TIME[2011-06-05 09:19:25 +09:00]] 版)) >4.3 Public (i.e. widely visible) names should be in case-independent ASCII. Specifically, this refers to DNS names, and to protocol elements that are transmitted in text format.