Files
AzelusLightvale-ComfyUI-ARG…/web/docs/String2Hex.md
T

18 lines
629 B
Markdown

# String to Hexadecimal Converter
Converts a string into its hexadecimal representation.
## Overview
This node takes a text string, encodes it into bytes using the specified character encoding, and then converts those bytes into a hexadecimal string.
## Parameters
- **text**: The input string to convert.
- **encoding_format**: The character encoding to use for the conversion (e.g., `utf-8`, `ascii`).
- **other_encoding_format**: If "Other" is selected for `encoding_format`, this field allows you to specify a custom encoding format.
## Outputs
- **converted_txt**: The hexadecimal representation of the input string.