-------------------------------------------------------------------------------- Fedora EPEL Update Notification FEDORA-EPEL-2022-e1cfd9421e 2022-01-31 01:30:20.602438 --------------------------------------------------------------------------------
Name : perl-Test-Mojibake Product : Fedora EPEL 9 Version : 1.3 Release : 13.el9 URL : https://metacpan.org/release/Test-Mojibake Summary : Check your source for encoding misbehavior Description : 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 ;)
-------------------------------------------------------------------------------- Update Information:
This is the first EPEL-9 build of perl-Test-Mojibake. -------------------------------------------------------------------------------- ChangeLog:
* Tue Oct 29 2019 Paul Howarth paul@city-fan.org - 1.3-13 - Spec tidy up - Use author-independent source URL - Drop some legacy conditionals - Drop redundant buildroot cleaning in %install section * Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 1.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 2 2019 Jitka Plesnikova jplesnik@redhat.com - 1.3-11 - Perl 5.30 re-rebuild of bootstrapped packages * Fri May 31 2019 Jitka Plesnikova jplesnik@redhat.com - 1.3-10 - Perl 5.30 rebuild * Sat Feb 2 2019 Fedora Release Engineering releng@fedoraproject.org - 1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 1 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 9 2018 Fedora Release Engineering releng@fedoraproject.org - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild --------------------------------------------------------------------------------
This update can be installed with the "yum" update programs. Use su -c 'yum update perl-Test-Mojibake' at the command line. For more information, refer to "YUM", available at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7%5C /html/System_Administrators_Guide/ch-yum.html
All packages are signed with the Fedora EPEL GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys --------------------------------------------------------------------------------
epel-package-announce@lists.fedoraproject.org