text_encoding_converter
Convert text file encodings using specified source and target formats, saving the output to a designated directory. Ideal for transforming text data across multiple encoding standards.
Instructions
Convert text between different encodings
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fromEncoding | Yes | Source encoding (e.g., 'big5', 'gbk', 'utf8') | |
inputPath | Yes | Path to the input text file | |
outputDir | Yes | Directory where converted file should be saved | |
toEncoding | Yes | Target encoding (e.g., 'utf8', 'big5', 'gbk') |
Input Schema (JSON Schema)
{
"properties": {
"fromEncoding": {
"description": "Source encoding (e.g., 'big5', 'gbk', 'utf8')",
"type": "string"
},
"inputPath": {
"description": "Path to the input text file",
"type": "string"
},
"outputDir": {
"description": "Directory where converted file should be saved",
"type": "string"
},
"toEncoding": {
"description": "Target encoding (e.g., 'utf8', 'big5', 'gbk')",
"type": "string"
}
},
"required": [
"inputPath",
"outputDir",
"fromEncoding",
"toEncoding"
],
"type": "object"
}