1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:42:08 +02:00
tldr/pages/common/isutf8.md
Juri Dispan a5bc5828f3
chronic, combine, ifdata, ifne, isutf8: add pages (#12114)
* chronic, combine, ifdata, ifne, isutf8: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-24 12:59:50 +05:30

24 lines
722 B
Markdown

# isutf8
> Check whether text files contain valid UTF-8.
> More information: <https://joeyh.name/code/moreutils/>.
- Check whether the specified files contain valid UTF-8:
`isutf8 {{path/to/file1 path/to/file2 ...}}`
- Print errors using multiple lines:
`isutf8 --verbose {{path/to/file1 path/to/file2 ...}}`
- Do not print anything to `stdout`, indicate the result merely with the exit code:
`isutf8 --quiet {{path/to/file1 path/to/file2 ...}}`
- Only print the names of the files containing invalid UTF-8:
`isutf8 --list {{path/to/file1 path/to/file2 ...}}`
- Same as `--list` but inverted, i.e., only print the names of the files containing valid UTF-8:
`isutf8 --invert {{path/to/file1 path/to/file2 ...}}`