utfcheck
check validity of UTF-8 and ASCII files
Command lineUtilities
Not tested on a device yet. What that means
Commands in the package
utfcheck
About utfcheck
From Debian's package description
The utfcheck program examines a text file and prints a summary of what the file contains: ASCII, UTF-8, UTF-16 (either big-endian or little-endian based on an initial Byte Order Mark), or binary data. ASCII and UTF-8 files are processed further; UTF-16 and binary files are not. For a UTF-8 file, the summary includes whether or not the file begins with the Unicode Byte Order Mark (U+FEFF). Any following data encountered that is not well-formed ASCII or UTF-8 Unicode is considered to be binary data; upon reading such data the input file is considered not to be a proper text file and the program exits with an error status.
The utfcheck program returns an exit status of EXIT_SUCCESS if the text file was well-formed, and EXIT_FAILURE otherwise.
From Debian's description of the utfcheck package, under that package's license.
Dependencies
Depends on
libc6
Related apps
- lockfile-progsPrograms for locking and unlocking files and mailboxesCommand line
- hexeditviewer and editor in hexadecimal or ASCII for files or devicesCommand line
- uni2asciiUTF-8 to 7-bit ASCII and vice versa converterCommand line
- ncurses-hexeditEdit files/disks in hex, ASCII and EBCDICCommand line
- papsUTF-8 to PostScript converter using PangoCommand line
- sliceExtract out pre-defined slices of an ASCII fileCommand line
Sources and licenses
- Name: the Debian package name.
- Summary: Debian's short description of the utfcheck package, under that package's license.
- Description: Debian's description of the utfcheck package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.