{"category":"text","endpoint":"https://setget.net/v1/tools/unicode-normalize","examples":[{"input":{"text":"cafe\u0301"},"output":{"changed":true,"characters_after":4,"characters_before":5,"text":"caf\u00e9"}},{"input":{"strip_accents":true,"text":"Cr\u00e8me br\u00fbl\u00e9e"},"output":{"changed":true,"characters_after":12,"characters_before":12,"text":"Creme brulee"},"title":"Removing accents"},{"input":{"strip_control":true,"text":"a\u200bb\ufeff"},"output":{"changed":true,"characters_after":2,"characters_before":4,"text":"ab"},"title":"Removing zero-width characters"}],"input_schema":{"additionalProperties":false,"properties":{"form":{"default":"NFC","description":"Normal form. NFC is the usual choice; the K forms also replace look-alike variants such as \"\ufb01\" and full-width letters.","enum":["NFC","NFD","NFKC","NFKD"],"type":"string"},"strip_accents":{"default":false,"description":"Remove accents and other marks from letters.","type":"boolean"},"strip_control":{"default":false,"description":"Remove zero-width, text-direction and control characters. Tabs and line breaks stay.","type":"boolean"},"text":{"description":"The text to normalise.","examples":["cafe\u0301"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["unicode","normalize","normalise","nfc","nfkc","remove accents","diacritics","zero width","invisible characters","clean text"],"related":["unicode-inspect","slugify","escape-unescape"],"slug":"unicode-normalize","summary":"Normalise text to NFC, NFD, NFKC or NFKD, and optionally strip accents or invisible characters.","tier":"inline","title":"Unicode normaliser","url":"https://setget.net/tools/unicode-normalize"}
