Normalizar Unicode
unicode-normalizeAplica normalización Unicode NFC, NFD, NFKC o NFKD. Cuándo: hay que transformar, comparar o medir un texto con exactitud y no por aproximación. No para: quitar tildes y diacríticos (remove-accents). 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: Applies Unicode normalization form NFC, NFD, NFKC or NFKD and reports whether the text changed. When: text has to be transformed, compared or measured exactly instead of approximated. Not for: stripping combining diacritical marks (remove-accents). 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 |
|---|---|---|---|
| form | No | Form (optional; one of: NFC, NFD, NFKC, NFKD; default "NFC"). | NFC |
| text | Yes | Input text (string; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| changed | No | ||
| code_points | No |