Caret vs Middle Dot
VS
Comparação de propriedades
| Propriedade | ‸ 2038 | · 00B7 |
|---|---|---|
| Nome | Caret | Middle Dot |
| Categoria | Punctuation | Punctuation |
| Bloco | General Punctuation | Latin-1 Supplement |
| Script | Zyyy | Zyyy |
| Categoria geral | Other Punctuation (Po) | Other Punctuation (Po) |
| Bidirecional | ON | ON |
Comparação de codificações
| Formato | 2038 | 00B7 |
|---|---|---|
| Unicode | U+2038 | U+00B7 |
| HTML Decimal | ‸ | · |
| HTML Hex | ‸ | · |
| CSS | \2038 | \00B7 |
| JavaScript | \u{2038} | \u{B7} |
| Python | \u2038 | \u00b7 |
| UTF-8 | e2 80 b8 | c2 b7 |
Como distinguir
Tanto Caret quanto Middle Dot estão na categoria Punctuation, mas residem em blocos Unicode diferentes. Verifique o ponto de código para diferenciá-los.
Dica: Cole o caractere em um editor hexadecimal ou use
charCodeAt()
em JavaScript para verificar o ponto de código real.