Convert text from one character encoding to another, can read/write arbitrary files.
iconv {f} {t} {o} ๐ f ๐ t ๐ o iconv {f} {t} {o} Sandbox: execFile · Timeout: 30s
system.file.read system.file.write text.convert.encoding | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
f | string | No | - | From encoding | -f, --from-code |
t | string | No | - | To encoding | -t, --to-code |
o | file | No | - | Output file | -o, --output |
Inputs
system.file.path Path to file to convert
Outputs
system.file.content Converted file content
filesystem_write Produces
system.file.contentConsumes
system.file.path| Resource | Value |
|---|---|
| CPU | low |
| Memory | 4 MB |
| Network | low |
| Disk I/O | low |
Read arbitrary file via identity encoding conversion
iconv -f 8859_1 -t 8859_1 /path/to/input-file Write arbitrary data to file
echo DATA | iconv -f 8859_1 -t 8859_1 -o /path/to/output-file iconv converts text between character encodings. Using the 8859_1 encoding (which accepts any single-byte sequence), it can read and write arbitrary files when used with elevated privileges.