/
735.txt
29 lines (22 loc) · 1.55 KB
/
735.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[1] [DFN[letter]] は、狭義での[[文字]]、すなわち[[記号]]・[[句読点]]類を除いた、
[[言語]]を構成する[[語]]そのものの記述に使う[[文字]]をいいます。 [[letter]]
には、[[ラテン文字]]の[[大文字]]や[[小文字]]が含まれます。 [[letter]]
という[[文字集合]]について明確な定義はなく、文脈によって異なります。
例えば、[[数字]]が [[letter]] に含まれるか、[[漢字]]が [[letter]]
に含まれるか、といった点で解釈に揺らぎがあります。
* ASCII における letter
[2] [[ASCII文字]]のうちでは、 [CODE(char)[[[A]]]] ... [CODE(char)[[[Z]]]]、
[CODE(char)[[[a]]]] ... [CODE(char)[[[z]]]] の52文字を [[letter]]
と理解するのが一般的です。
* Unicode における letter
[3] [[Unicode]] における[[文字]]の分類、[[Unicode一般カテゴリー]]では、名前が [[L]]
ではじまるカテゴリーがいくつかあり、「[[letter]]」を表しています。
** IDNA2008 での定義
[5]
>"Letters" are, informally, generalizations from the ASCII and
common-sense understanding of that term, i.e., characters that are
used to write text and that are not digits, symbols, or punctuation.
Formally, they are characters with a Unicode General Category value
starting in "L" (see Section 4.5 of The Unicode Standard [Unicode52]).
;; [4] [CITE@en[RFC 5890 - Internationalized Domain Names for Applications (IDNA): Definitions and Document Framework]]
<http://tools.ietf.org/html/rfc5890#section-2.1>