Nodes/comfyui-spawner-nodes/Text Encoder/Decoder
ComfyUI Node

Text Encoder/Decoder

A ComfyUI node in spawner/utils with 6 inputs and 1 output.

By spawner1145·Created about a year ago·Updated 10 months ago· 2
Text Encoder/Decoder
    • result_text
    text
    operation
    encoding_format
    post_decode_unicodetrue
    source_encodinggbk
    target_encodingutf-8
    Categoryspawner/utils

    Inputs (6)

    NameTypeDefaultDescription
    textSTRING
    operationCOMBO2 options: 解码 (Decode), 编码 (Encode)
    encoding_formatCOMBO6 options: Base64, URL (Percent-Encoding), Hex, ROT13, JSON String Escape, 字符集转换 (Character Set)
    post_decode_unicodeBOOLEANtrue
    source_encodingoptCOMBOgbk7 options: utf-8, gbk, gb2312, big5, latin-1, iso-8859-1, +1
    target_encodingoptCOMBOutf-87 options: utf-8, gbk, gb2312, big5, latin-1, iso-8859-1, +1

    Outputs (1)

    NameTypeDescription
    result_textSTRING