ISUTF8(1)
β¨ isutf8(1) β the moreutils era β¨
okay so bestie, listen π this little icon checks whether your files are actually valid UTF-8, no cap. Like, syntactically valid. It's giving "vibe check for your bytes" and honestly it ate.
πΈ SYNOPSIS πΈ
isutf8 [-hqliv] [--help] [--quiet] [--list] [--invert] [--verbose]
[[file...]]
π DESCRIPTION π
isutf8 checks whether files are syntactically valid UTF-8. That's the whole gig, and it does it flawlessly π«Ά
Where does the input come from? Either the files you name on the command line, or standard input if you're feeling mysterious. And the notices about files with invalid UTF-8 get printed to standard output β so you will hear about it, bestie π
π OPTIONS π
-h,--helpβ prints out a help summary. cute lil recap energy β¨-q,--quietβ don't print messages telling which files are invalid UTF-8, merely indicate it with the exit status. silent but deadly, iykyk π-l,--listβ print only the names of files containing invalid UTF-8. names only, no commentary, main character minimalism π-i,--invertβ invert the selection: list UTF-8 compatible files. plot twist, we're celebrating the good ones now π-v,--verboseβ also print an hexdump-like view of the error and some context. forensic girly behavior, obsessed π₯
β EXIT STATUS β
If the file is valid UTF-8, the exit status is zero. Slay π
If the file is not valid UTF-8, or there is some error, the exit status is non-zero. Not slay, but at least you know π
π¦ AUTHOR π¦
Lars Wirzenius, Julien Palard β legends, fr fr π«Ά
π SEE ALSO π
utf8(7) β go read it, bestie, it's literally right there π
that's the whole page, bestie! brought to you by moreutils, dated 06/30/2025, and logged as ISUTF8(1) β go forth and validate those bytes πΈβ¨π
π¦ where this page comes from
- alpine 3.24: moreutils-doc 0.70-r1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms