--- title: "text to hexdata()" slug: "string-text-to-hex-data" updated: 2025-11-13T06:51:49Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-text-to-hex-data" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # text to hexdata() Wandelt einen Text **a** in Binärdaten unter Verwendung des Zeichensatzes **b** um und gibt diese als Hexadezimaltext aus. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Zu kodierender Text. | | b | (optional) Zeichensatz. Default: *8859_1.* | ## Beispiel | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | ABCD | | 41424344 | | ABCDä€ | | 41424344e43f | | ABCDä€ | 8859_15 | 41424344e4a4 | | ABCDä€ | UTF8 | 41424344c3a4e282ac |