Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Test-Mojibake | Distribution: Fedora Project |
Version: 1.3 | Vendor: Fedora Project |
Release: 26.fc37 | Build date: Fri Jul 22 13:43:13 2022 |
Group: Unspecified | Build host: buildvm-s390x-01.s390.fedoraproject.org |
Size: 51528 | Source RPM: perl-Test-Mojibake-1.3-26.fc37.src.rpm |
Packager: Fedora Project | |
Url: https://metacpan.org/release/Test-Mojibake | |
Summary: Check your source for encoding misbehavior |
Many 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 ;)
GPL+ or Artistic
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-25 - Perl 5.36 re-rebuild of bootstrapped packages * Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-24 - Perl 5.36 rebuild * Fri Mar 11 2022 Paul Howarth <paul@city-fan.org> - 1.3-23 - Fix FTBFS triggered by package note feature - Use %license unconditionally - Drop workarounds for EL-6 support * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-20 - Perl 5.34 re-rebuild of bootstrapped packages * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.3-19 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
/usr/bin/scan_mojibake /usr/share/doc/perl-Test-Mojibake /usr/share/doc/perl-Test-Mojibake/Changes /usr/share/doc/perl-Test-Mojibake/README /usr/share/licenses/perl-Test-Mojibake /usr/share/licenses/perl-Test-Mojibake/LICENSE /usr/share/man/man1/scan_mojibake.1.gz /usr/share/man/man3/Test::Mojibake.3pm.gz /usr/share/perl5/vendor_perl/Test /usr/share/perl5/vendor_perl/Test/Mojibake.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu May 9 19:58:19 2024