Files
bare-operating-system/packages/bare-os-coreutils/man/pages/iconv.json
T
2026-04-04 19:08:51 -04:00

27 lines
833 B
JSON

{
"name": "iconv",
"section": 1,
"title": "convert text encodings (UTF-8 subset)",
"synopsis": ["iconv [-f FROM] [-t TO] [FILE]"],
"description": "Convert between character encodings. The stock kernel implements UTF-8 to UTF-8 pass-through only; other pairs are rejected. Input is FILE or stdin when FILE is omitted.",
"options": [
{
"flag": "-f FROM, --from-code FROM",
"meaning": "Source encoding (default UTF-8)."
},
{
"flag": "-t TO, --to-code TO",
"meaning": "Target encoding (default UTF-8)."
}
],
"keywords": ["iconv", "encoding", "utf-8", "posix", "bare-os", "coreutils"],
"environment": [],
"examples": [
{
"caption": "copy stdin to stdout (UTF-8)",
"code": "iconv -f UTF-8 -t UTF-8"
}
],
"seeAlso": [{ "name": "getconf", "section": 1 }]
}