ComfyUI Node
Text Encoder/Decoder
A ComfyUI node in spawner/utils with 6 inputs and 1 output.
Text Encoder/Decoder
- result_text
◄text►
◄operation▾►
◄encoding_format▾►
◄post_decode_unicodetrue►
◄source_encodinggbk►
◄target_encodingutf-8►
Categoryspawner/utils
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| operation | COMBO | 2 options: 解码 (Decode), 编码 (Encode) | |
| encoding_format | COMBO | 6 options: Base64, URL (Percent-Encoding), Hex, ROT13, JSON String Escape, 字符集转换 (Character Set) | |
| post_decode_unicode | BOOLEAN | true | — |
| source_encodingopt | COMBO | gbk | 7 options: utf-8, gbk, gb2312, big5, latin-1, iso-8859-1, +1 |
| target_encodingopt | COMBO | utf-8 | 7 options: utf-8, gbk, gb2312, big5, latin-1, iso-8859-1, +1 |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| result_text | STRING | — |