scan_mojibake

module to check source for encoding misbehavior

Install

All systems
curl cmd.cat/scan_mojibake.sh
Debian Debian
apt-get install libtest-mojibake-perl
Ubuntu
apt-get install libtest-mojibake-perl
image/svg+xml Kali Linux
apt-get install libtest-mojibake-perl
Fedora
dnf install perl-Test-Mojibake
Windows (WSL2)
sudo apt-get update sudo apt-get install libtest-mojibake-perl

libtest-mojibake-perl

module to check source for encoding misbehavior

Many modern text editors automatically save files using UTF-8 encoding, however, perl interpreter does not expects it by default. Whereas this does not represent a big deal on (most) backend-oriented programs, Web framework (Catalyst, Mojolicious) based applications will suffer of so-called Mojibake (lit. "unintelligible sequence of characters"). Test::Mojibake lets you check for inconsistencies in source and documentation encoding, and report its results in a standard Test::Simple fashion.

perl-Test-Mojibake

misbehavior