converting a string to ASCII lowercase

converting a string to ASCII lowercase

仕様書

写像

[11] 文字列文字列ASCII小文字化 (ASCII lowercase) は、 文字列に含まれる範囲 [ U+0041, U+005A ] の符号位置をすべて範囲 [ U+0061, U+007A ] の対応する符号位置で置き換えることをいいます >>10

[12] ここで「対応する」は明確に定義されていませんが、符号位置に 0x20 を加えることをいいます。

関連

[8] ASCII大文字に変換は逆方向の写像です。

歴史

[3] Define ASCII lowercase and use it. Fixes #42. · whatwg/url@b6b7431 ( 版) <https://github.com/whatwg/url/commit/b6b7431d4c9c9fed7b79e1e7917b2ec7b65bff90>

[4] URL Standard ( 版) <https://url.spec.whatwg.org/#ascii-lowercase>

[13] MIME Sniffing Standard ( 版) <https://mimesniff.spec.whatwg.org/#converted-to-ascii-lowercase>

[14] >>13HTML Standard を参照しています。

[15] Editorial: start using the Infra Standard (annevk著, ) <https://github.com/whatwg/encoding/commit/a26f76889bf393999e9caad84a3647ab09c39e09>

[16] Editorial: leave ASCII case-insensitive to Infra (annevk著, ) <https://github.com/whatwg/html/commit/5f3f27bfdf0e0139f6cf5f22508f37710d917c00>

[17] Editorial: make use of the Infra Standard (annevk著, ) <https://github.com/whatwg/dom/commit/bb2890beed2be14d2f7633ec89e2bbb88ec7fdcd>

[18] Editorial: start using the Infra Standard (annevk著, ) <https://github.com/whatwg/url/commit/9001b9be7475fdf4a7a2757b5417aa4a9f06b3b6>

[19] Breaking: adjust some code point definitions (annevk著, ) <https://github.com/whatwg/infra/commit/aa38c291fc978252751a9c9942c382e879d0985e>

[20] Regression: fix the definition of ASCII lower/upper alpha (xfq著, ) <https://github.com/whatwg/infra/commit/18bddb5fc16f0c43fc0d351d0ce9e23327d59d4d>

[21] Breaking: stop treating alpha and alphanumeric as mass nouns (annevk著, ) <https://github.com/whatwg/infra/commit/4707bf7b3d8b5b6314ee3dabd29856011eebbb00>