Ac Text Encoding

Handling text as bytes without corrupting it: what UTF-8 actually encodes and its malformed forms, normalization forms and why two identical-looking strings differ, grapheme clusters versus code points versus bytes, encoding boundaries at input and output, mojibake and how it happens, and the written text-policy record. It explains how text is represented and where it breaks; it never recommends a library and never guesses an encoding. Use when asking "UTF-8", "encoding error", "mojibake", "why do these strings not match", "normalization form", "NFC versus NFD", "grapheme cluster", "code point", "invalid byte sequence", "text corruption", "why does my hash of the same text differ". Not for locale formatting and language presentation (ac-i18n-and-localisation), not for collation and search (ac-i18n-and-localisation), not for parsing structured data formats (ac-api-design).

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit 3ddddcbba0

Frequently asked questions

npx get-skill add jiayaoqijia/ac-text-encoding