*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: encguess | Section: 1 | Source: OpenBSD | File: encguess.1
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 -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: o Guess encoding of a file named "test.txt", using only the default suspect types. encguess test.txt o 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 o 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> perl v5.40.1 2025-04-13 ENCGUESS(1)

Navigation Options