encode_utf8
Convert Chinese text to UTF-8 percent-encoded hex bytes with encode, or restore UTF-8 byte strings to Chinese with decode. Select via action parameter.
Instructions
UTF-8 编码与中文互转。encode=中文转 %XX 十六进制字节串;decode=字节串还原中文
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| action | No | encode |