Caret vs Middle Dot
VS
Comparación de propiedades
| Propiedad | ‸ 2038 | · 00B7 |
|---|---|---|
| Nombre | Caret | Middle Dot |
| Categoría | Puntuación | Puntuación |
| Bloque | General Punctuation | Latin-1 Supplement |
| Escritura | Zyyy | Zyyy |
| Categoría general | Other Punctuation (Po) | Other Punctuation (Po) |
| Bidireccional | ON | ON |
Comparación de codificaciones
| 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 |
Cómo distinguirlos
Tanto Caret como Middle Dot están en la categoría Puntuación pero se encuentran en diferentes bloques Unicode. Compruebe el punto de código para diferenciarlos.
Consejo: Pegue el carácter en un editor hexadecimal o use
charCodeAt()
en JavaScript para verificar el punto de código real.