Text Inspector

Icon: Deutsche Sprache Zeichenketten in Unicode-Punkte mit UTF-8-Kodierung aufschlüsseln
Icon: English language Breaking down strings into Unicode Points with UTF-8 Encoding

Text:

 

Icon: Deutsche Sprache Wie das funktioniert

Den entsprechenden Javascript-Code kann man im HTML-Quelltext dieser Seite einsehen. Er ist relativ simpel. Für Javascript-Anfänger hier ein paar Hinweise:

Der Rest des Javascript-Codes in dieser Seite fällt in den Bereich Darstellung und Kosmetik (Eintragen der Ergebnisse in eine Tabelle).

Icon: English language How it works

The Javascript code behind this is embedded into this page's HTML, thus readable from the Page Source. It is rather simple. Javascript beginners may find the following comments useful, describing how to split strings into characters and characters into bytes.

The rest of the code is cosmetics like writing the results in a table.

© Hermann Faß, 2024