man > encguess(1)

🏷️ NAME

encguess - guess character encodings of files

🚀 Quick Reference

Use CaseCommandDescription
🔍 Guess encoding of a fileencguess test.txtUses default suspect types (ascii, utf8, UTF-16/32 with BOM)
🎯 Guess with specific suspect typesencguess -s euc-jp,shiftjis,7bit-jis test.txtSpecify comma-separated encoding list
📋 List all acceptable encoding typesencguess -SOutputs supported encoding names for -s
🤫 Suppress unidentified filesencguess -u -s euc-jp test.txtOnly show files where encoding was identified
📁 Multiple filesencguess -s shiftjis,utf8 *.txtProcess multiple files at once

🔢 VERSION

$Id: encguess,v 0.3 2020/12/02 01:28:17 dankogai Exp dankogai $

📋 SYNOPSIS

encguess [switches] filename...

⚙️ SWITCHES

💡 EXAMPLES

📖 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>


perl v5.34.0 - 2026-06-23 - ENCGUESS(1)

encguess(1)
🏷️ NAME 🚀 Quick Reference 🔢 VERSION 📋 SYNOPSIS
⚙️ SWITCHES 💡 EXAMPLES
📖 DESCRIPTION 🔗 SEE ALSO 📜 LICENSE AND COPYRIGHT

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 14:16 @216.73.216.198
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!