| Name: | perl-Test-Mojibake |
|---|---|
| Version: | 0.9 |
| Release: | 2.el7 |
| Architecture: | noarch |
| Group: | Development/Libraries |
| Size: | 50510 |
| License: | GPL+ or Artistic |
| RPM: | perl-Test-Mojibake-0.9-2.el7.noarch.rpm |
| Source RPM: | perl-Test-Mojibake-0.9-2.el7.src.rpm |
| Build Date: | Sat Nov 04 2017 |
| Build Host: | x86-ol7-builder-03.us.oracle.com |
| Vendor: | Oracle America |
| URL: | http://search.cpan.org/dist/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 ;) |
- Bootstrap epel7 build
- Update to 0.9
- More consistent UTF-8 naming in docs
- Dist::Zilla maintenance
- Fixed shebang in scan_mojibake
(https://github.com/creaktive/Test-Mojibake/issues/7)
- Update patch for building with old Test::More versions
- Perl 5.18 re-rebuild of bootstrapped packages
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
- Perl 5.18 rebuild
- Update to 0.8 - Fixed cyclic t/ deps - Added the standalone scan_mojibake utility - Listed Unicode::CheckUTF8 as a recommended prerequisite - Recognize utf8::all - Passes perlcritic harsh - Drop BR: perl(File::Spec) - BR: perl(File::Spec::Functions), perl(Pod::Usage) and perl(Test::Script) - BR: perl(Test::Pod::LinkCheck) where available - Perl::Critic ≥ 1.094 now needed for the 'equivalent_modules' parameter in TestingAndDebugging::RequireUseStrict, unavailable in EPEL-5 - Update patch for building with old Test::More versions - Drop %defattr, redundant since rpm 4.4
- Update to 0.7 - Fixed multiple =encoding behavior - More deterministic t/01-bad-check.t
- Update to 0.6 - Fixed incorrect test examples - Reinstate BR: perl(Test::Kwalitee) now that kwalitee test is back
- Update to 0.5
- Attempt to fix https://github.com/creaktive/Test-Mojibake/issues/2
(don't fail when no lib directory exists)
- Kwalitee won't complain any more
- Kwalitee test dropped upstream, so no longer need BR: perl(Test::Kwalitee)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild