{"category":"encoding","endpoint":"https://setget.net/v1/tools/string-escape-bytes","examples":[{"input":{"text":"A\u20ac\ud83d\ude00"},"output":{"ascii":false,"bytes":{"utf16le":8,"utf32le":12,"utf8":8},"characters":3,"code_points":["U+0041","U+20AC","U+1F600"],"utf16le":"41 00 ac 20 3d d8 00 de","utf32le":"41 00 00 00 ac 20 00 00 00 f6 01 00","utf8":"41 e2 82 ac f0 9f 98 80"}},{"input":{"text":"e\u0301"},"output":{"ascii":false,"bytes":{"utf16le":4,"utf32le":8,"utf8":3},"characters":2,"code_points":["U+0065","U+0301"],"utf16le":"65 00 01 03","utf32le":"65 00 00 00 01 03 00 00","utf8":"65 cc 81"},"title":"An accent written as a separate combining character"}],"input_schema":{"additionalProperties":false,"properties":{"text":{"description":"The text to inspect.","examples":["A\u20ac\ud83d\ude00"],"maxLength":5000,"type":"string"}},"required":["text"],"type":"object"},"keywords":["utf-8 bytes","unicode code points","utf-16","utf-32","string to bytes","encoding debug","mojibake","byte length","invisible characters","unicode inspector","string length in bytes"],"related":["hex","binary-text","html-entities","url-encode"],"slug":"string-escape-bytes","summary":"Show the UTF-8, UTF-16 and UTF-32 bytes and the Unicode code points of a text.","tier":"inline","title":"String bytes and code points","url":"https://setget.net/tools/string-escape-bytes"}
