Fri, 07 Jun 2024 17:37:01 UTC | login

Information for RPM perl-Test-Mojibake-1.3-26.fc37.src.rpm

ID792077
Nameperl-Test-Mojibake
Version1.3
Release26.fc37
Epoch
Archsrc
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 Time2022-07-22 11:43:10 GMT
Size55.77 KB
b2532d9d3c4a356b61eb19001aad0fff
LicenseGPL+ or Artistic
Provides
perl-Test-Mojibake = 1.3-26.fc37
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
coreutils
findutils
make
perl(ExtUtils::MakeMaker)
perl(File::Spec::Functions)
perl(Perl::Critic) >= 1.094
perl(Perl::Critic::Policy::Modules::ProhibitModuleShebang)
perl(Pod::Coverage::TrustPod)
perl(Pod::Usage)
perl(Test::Builder)
perl(Test::Builder::Tester)
perl(Test::CPAN::Changes)
perl(Test::CPAN::Meta)
perl(Test::CPAN::Meta::JSON)
perl(Test::DistManifest)
perl(Test::EOL)
perl(Test::HasVersion)
perl(Test::Kwalitee) >= 1.21
perl(Test::MinimumVersion)
perl(Test::More) >= 0.96
perl(Test::NoTabs)
perl(Test::Perl::Critic)
perl(Test::Pod) >= 1.41
perl(Test::Pod::Coverage) >= 1.08
perl(Test::Pod::LinkCheck)
perl(Test::Portability::Files)
perl(Test::Script)
perl(Test::Synopsis)
perl(Test::Vars)
perl(Test::Version)
perl(Unicode::CheckUTF8)
perl(blib)
perl(strict)
perl(warnings)
perl-generators
perl-interpreter
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
Test-Mojibake-1.3.tar.gz28.04 KB
perl-Test-Mojibake.spec14.38 KB
Component of No Buildroots