Inspeccionar UTF-8 y puntos de código
utf8-inspectLista cada carácter con su punto de código, bytes UTF-8 y unidades UTF-16, y totales. Cuándo: hay que convertir bytes o texto a esta codificación, o desde ella, con exactitud y sin adivinar. No para: detectar caracteres invisibles (text-invisible-scan). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Lists each character of a string with its Unicode code point, UTF-8 bytes and UTF-16 units, plus totals (bytes, code points, graphemes). Max 2,000 code points. When: bytes or text have to be converted to or from this encoding exactly, without guessing. Not for: finding zero-width, bidi-control, Unicode tag and other invisible characters (text-invisible-scan). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text (string; required; up to 2000 chars). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chars | No | ||
| graphemes | No | ||
| utf8_bytes | No | ||
| code_points | No | ||
| utf16_units | No |