Fri, 17 May 2024 22:06:45 UTC | login

Information for build perl-Test-Mojibake-1.3-7.fc29

ID51499
Package Nameperl-Test-Mojibake
Version1.3
Release7.fc29
Epoch
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 ;)
Built bydavidlt
State complete
Volume DEFAULT
StartedThu, 12 Jul 2018 23:34:41 UTC
CompletedThu, 12 Jul 2018 23:34:41 UTC
Tags
f29
RPMs
src
perl-Test-Mojibake-1.3-7.fc29.src.rpm (info) (download)
noarch
perl-Test-Mojibake-1.3-7.fc29.noarch.rpm (info) (download)
Changelog * Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-7 - Perl 5.28 re-rebuild of bootstrapped packages * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-6 - Perl 5.28 rebuild * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-3 - Perl 5.26 re-rebuild of bootstrapped packages * Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-2 - Perl 5.26 rebuild * Mon Feb 06 2017 Paul Howarth <paul@city-fan.org> - 1.3-1 - Update to 1.3 - Minor fixes to pass the release tests - Add MetaJSON plugin (GH#12) - Add new optional dependency on Unicode::CheckUTF8::PP, a Pure Perl implementation of Unicode::CheckUTF8 - Fixed off-by-one (GH#10) - Fixed SYNOPSIS - Work around bug in GNU tar 1.15.1 that breaks extracting tarballs made with unknown extended attributes on old distributions - Drop EL-5 build support - Update patches as needed