Man page - encguess(1)
Packages contas this manual
- podchecker(1)
- ptar(1)
- h2ph(1)
- pod2text(1)
- ptardiff(1)
- streamzip(1)
- pod2man(1)
- shasum(1)
- perlivp(1)
- enc2xs(1)
- json_pp(1)
- h2xs(1)
- encguess(1)
- perlbug(1)
- pod2html(1)
- cpan(1)
- xsubpp(1)
- splain(1)
- pod2usage(1)
- pl2pm(1)
- piconv(1)
- perlthanks(1)
- prove(1)
- ptargrep(1)
- instmodsh(1)
- corelist(1)
- zipdetails(1)
- libnetcfg(1)
apt-get install perl
Manual
| ENCGUESS(1) | Perl Programmers Reference Guide | ENCGUESS(1) |
NAME
encguess - guess character encodings of files
VERSION
$Id: encguess,v 0.4 2023/11/10 01:10:50 dankogai Exp $
SYNOPSIS
encguess [switches] filename...
SWITCHES
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
DESCRIPTION
The encoding identification is done by checking one encoding type at a time until all but the right type are eliminated. The set of encoding types to try is defined by the -s parameter and defaults to ascii, utf8 and UTF-16/32 with BOM. This can be overridden by passing one or more encoding types via the -s parameter. If you need to pass in multiple suspect encoding types, use a quoted string with the a space separating each value.
SEE ALSO
Encode::Guess, Encode::Detect
LICENSE AND COPYRIGHT
Copyright 2015 Michael LaGrasta and Dan Kogai.
This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License (2.0). You may obtain a copy of the full license at:
<http://www.perlfoundation.org/artistic_license_2_0>
| 2025-07-27 | perl v5.40.1 |