SymbolFYI

Digit Zero vs Hyphen-Minus

0
Digit Zero
0030
詳細を見る →
-
Hyphen-Minus
002D
詳細を見る →
VS

プロパティ比較

プロパティ 0 0030 - 002D
名前 Digit Zero Hyphen-Minus
カテゴリ Latin Extended Latin Extended
ブロック Basic Latin Basic Latin
スクリプト Zyyy Zyyy
一般カテゴリ Decimal Number (Nd) Dash Punctuation (Pd)
双方向 EN ES

エンコード比較

フォーマット 0030 002D
Unicode U+0030 U+002D
HTML Decimal 0 -
HTML Hex 0 -
CSS \0030 \002D
JavaScript \u{30} \u{2D}
Python \u0030 \u002d
UTF-8 30 2d

見分け方

Digit Zero と Hyphen-Minus はどちらも Latin Extended カテゴリと Basic Latin ブロックに属しています。コードポイント、エンコーディング、Unicode プロパティを比較して見分けてください。

ヒント: 文字を hex エディタに貼り付けるか、 charCodeAt() を JavaScript で使って実際のコードポイントを確認してください。

関連比較

0 Digit Zero 詳細 - Hyphen-Minus 詳細 すべての比較