Tue, 10 Nov 2026 13:12:58 CST | login

Information for RPM perl-Test-Mojibake-1.3-3.oc9.noarch.rpm

ID212070
Buildperl-Test-Mojibake-1.3-3.oc9
Nameperl-Test-Mojibake
Version1.3
Release3.oc9
Epoch
Archnoarch
DraftFalse
SummaryCheck your source for encoding misbehavior
DescriptionMany modern text editors automatically save files using UTF-8 codification. However, the perl interpreter does not expect it by default. Whilst this does not represent a big deal on (most) backend-oriented programs, Web framework (Catalyst, Mojolicious) based applications will suffer so-called Mojibake (literally: "unintelligible sequence of characters"). Even worse: if an editor saves BOM (Byte Order Mark, U+FEFF character in Unicode) at the start of a script with the executable bit set (on Unix systems), it won't execute at all, due to shebang corruption. Avoiding codification problems is quite simple: * Always use utf8/use common::sense when saving source as UTF-8 * Always specify =encoding utf8 when saving POD as UTF-8 * Do neither of above when saving as ISO-8859-1 * Never save BOM (not that it's wrong; just avoid it as you'll barely notice its presence when in trouble) However, if you find yourself upgrading old code to use UTF-8 or trying to standardize a big project with many developers, each one using a different platform/editor, reviewing all files manually can be quite painful, especially in cases where some files have multiple encodings (note: it all started when I realized that gedit and derivatives are unable to open files with character conversion tables). Enter the Test::Mojibake ;)
Build Time2024-07-25 13:46:22 GMT
Size29.59 KB
436f7b77c2c833034bf9a6f0b4b32425
LicenseGPL-1.0-or-later OR Artistic-1.0-Perl
Buildrootdist-oc9-epol-build-85944-57591
Provides
perl(Test::Mojibake) = 1.3
perl-Test-Mojibake = 1.3-3.oc9
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
/usr/bin/perl
perl(File::Spec::Functions)
perl(Pod::Usage)
perl(Test::Builder)
perl(Test::Mojibake)
perl(Unicode::CheckUTF8)
perl(bytes)
perl(integer)
perl(strict)
perl(warnings)
perl-libs
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 10 of 10
Name ascending sort Size
/usr/bin/scan_mojibake1.64 KB
/usr/share/doc/perl-Test-Mojibake0.00 B
/usr/share/doc/perl-Test-Mojibake/Changes2.37 KB
/usr/share/doc/perl-Test-Mojibake/README7.25 KB
/usr/share/licenses/perl-Test-Mojibake0.00 B
/usr/share/licenses/perl-Test-Mojibake/LICENSE17.93 KB
/usr/share/man/man1/scan_mojibake.1.gz1.40 KB
/usr/share/man/man3/Test::Mojibake.3pm.gz4.16 KB
/usr/share/perl5/vendor_perl/Test0.00 B
/usr/share/perl5/vendor_perl/Test/Mojibake.pm15.01 KB
Component of No Buildroots