Why are Japanese TXT files detected as "application/octet-stream" instead of "text/plain"?

Issue: When processing plain text files containing Shift-JIS encoded characters (e.g., Japanese text), the files are detected as "data" (application/octet-stream) instead of "ASCII text" (text/plain).

Root Cause: This occurs because Shift-JIS recognition is not enabled by default in the FileType engine.

Remediation Steps:

To ensure Shift-JIS encoded text files are properly detected as text, follow these steps:

  1. Open MetaDefender Core configuration settings.

  2. Navigate to:

    • Workflow → File Type → Text-based detection
  3. Enable the option:

    • Detect Shift-JIS text
  4. Save the configuration changes.

With this configuration, Shift-JIS encoded files will be accurately recognized as "text/plain" instead of "application/octet-stream".

Additional Information: This feature is available in FileType engine version 7.3 and later. If you are using an older version, please refer to the documentation for instructions on configuring the Engines Update.

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
On This Page