UniCode Symboltabellen

Mit Hilfe der Unicodes lassen sich naherzu alle bekannten Zeichen aller Sprachen und Sonderzeichen sowie Symbole darstellen. Die Ausgabe kann mit printf ‘\u<CODE> oder echo -e \u<CODE> erfolgen und ist auch mit verschiedenen Farben möglich. Auf den folgenden Seiten sind Unicode Zeichentabellen gelistet.


Codebeispiele

Symbol Unicode Hex Code Printf Code Comment
2714 \xE2\x9C\x94\ printf “\u2714” Unicode default output
2714 \xE2\x9C\x94\ printf “\033[0;32m\u2714\033[0m” Unicode colored output
2714 \xE2\x9C\x94\ printf “\033[0;31m\xE2\x9C\x94\033[0m” Hexcode colored output
2022 0x2022 printf “\u2022” Unicode default -output
25CF 0x25CF printf “\u25cf” Unicode default -output
2b24 0x2B24 printf “\u2b24” Unicode default -output
2b24 0x2B24 printf “\033[0;33m\u2b24\033[0m” Unicode colored output
2b24 0x2B24 printf “\033[0;31m\u2b24\033[0m” Unicode colored output
2705 0x2705 printf “\u2705” Unicode colored Symbol
274C 0x274C printf “\u274C” Unicode colored Symbol

Folgender Bashbefehl zeigt den Code für


Folgendes Bash Script listet o.g. Symbolcode ( Unicode ) samt Farbcode auf :


CC_BY_NC_SAby Speefak | www.lennyfacecopypaste.com

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Back To Top