Mon, 30 Jun 2025 09:53:12 CST | login

Information for build perl-Test-Mojibake-1.3-4.oc9

ID39656
Package Nameperl-Test-Mojibake
Version1.3
Release4.oc9
Epoch
DraftFalse
Sourcegit+https://gitee.com/opencloudos-stream/perl-Test-Mojibake.git?.#3acddb192dd41cdfc6b94a31b8bc6d7ec9a96012
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 bybbrucezhang
State complete
Volume DEFAULT
StartedFri, 13 Jun 2025 19:40:23 CST
CompletedFri, 13 Jun 2025 19:43:14 CST
Taskbuild (dist-oc9-epol, /opencloudos-stream/perl-Test-Mojibake.git:.:origin/master)
Extra{'source': {'original_url': 'git+https://gitee.com/opencloudos-stream/perl-Test-Mojibake.git?.#origin/master'}}
Tags
dist-oc9-epol
dist-oc9-epol-compose
epol9-test-compose
RPMs
src
perl-Test-Mojibake-1.3-4.oc9.src.rpm (info) (download)
noarch
perl-Test-Mojibake-1.3-4.oc9.noarch.rpm (info) (download)
Logs
noarch
dnf.rpm.log
build.log
dnf.librepo.log
hw_info.log
dnf.log
mock_output.log
state.log
root.log
installed_pkgs.log
mock_config.log
noarch_rpmdiff.json
Changelog * Wed Jun 11 2025 bbrucezhang <bbrucezhang@tencent.com> - 1.3-4 - Rebuilt for loongarch64 * Tue Jul 02 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3-3 - rebuild * Mon Jul 01 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3-2 - rebuild * Thu Jun 20 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.3-1 - initial build