from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

187235

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250460

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

137824

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





ENCGUESS

Section: Perl Programmers Reference Guide (1)
Updated: 2017-08-16
Index Return to Main Contents
 

NAME

encguess - guess character encodings of files  

VERSION

$Id: encguess,v 0.1 2015/02/05 10:34:19 dankogai Exp $  

SYNOPSIS

  encguess [switches] filename...

 

SWITCHES

-h
show this message and exit.
-s
specify a list of ``suspect encoding types'' to test, seperated 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

 

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 the Artistic License (2.0). You may obtain a copy of the full license at:

<http://www.perlfoundation.org/artistic_license_2_0>


 

Index

NAME
VERSION
SYNOPSIS
SWITCHES
EXAMPLES:
DESCRIPTION
SEE ALSO
LICENSE AND COPYRIGHT





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 21.4 ms