OnWorks favicon

encguess - Online in the Cloud

Run encguess in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command encguess that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



encguess - guess character encodings of files


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


encguess [switches] filename...

show this message and exit.

specify a list of "suspect encoding types" to test, seperated by either ":" or ","

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

suppress display of unidentified types

· 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

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


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.

Use encguess online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    Download Sardi
  • 2
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 3
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 4
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 5
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 6
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • More »

Linux commands