OS Manuals

/usr/bin/encguess

various utilities included with perl

From perl-utils 5.44.0-r4 (os), captured 2026-11-05 by running encguess --help (exit 2). permalink

/usr/bin/encguess version [unknown] calling Getopt::Std::getopts (version 1.15),
running under Perl version 5.44.0.
Usage:
      encguess [switches] filename...

  Switches:
    -h
      show this message and exit.

    -s
      specify a list of "suspect encoding types" to test, separated by
      either ":" or ","

    -S
      output a list of all acceptable encoding types that can be used with
      the -s param

    -u
      suppress display of unidentified types

  Examples:
    * Guess encoding of a file named "test.txt", using only the default
      suspect types.

         encguess test.txt

    * Guess the encoding type of a file named "test.txt", using the suspect
      types "euc-jp,shiftjis,7bit-jis".

         encguess -s euc-jp,shiftjis,7bit-jis test.txt
         encguess -s euc-jp:shiftjis:7bit-jis test.txt

    * Guess the encoding type of several files, do not display results for
      unidentified files.

         encguess -us euc-jp,shiftjis,7bit-jis test*.txt
Options (4)
OptionDescriptionSource
-hshow this message and exit.help
-sspecify a list of "suspect encoding types" to test, separated by either ":" or ","help
-Soutput a list of all acceptable encoding types that can be used with the -s paramhelp
-usuppress display of unidentified typeshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.