perl-Acme-FixIO-0.02-alt1.noarch.rpm


Advertisement

Description

perl-Acme-FixIO - Workaround for Windows chcp 65001 UTF-8 output bug

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Acme-FixIO
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 19.97 KB
Download size 19.97 KB
Official Mirror ftp.altlinux.org
This is the underlying problem:
The last octet is repeated when Perl outputs a UTF-8 encoded string in
cmd.exe, chcp 65001
Two StackOverflow articles with basically the same problem:
http://stackoverflow.com/questions/23416075 and
http://stackoverflow.com/questions/25585248.
This is caused by a bug in Windows. When writing to a console set to code
page 65001, WriteFile() returns the number of characters written instead
of the number of bytes.
Workaround: Inject a binmode(STDOUT, ':unix:encoding(utf8):crlf') into the
perl program.

Alternatives

Package Version Architecture Repository
perl-Acme-FixIO - - -

Requires

Name Value
/usr/share/perl5 -
perl(Encode.pm) -
perl(PerlIO.pm) -
perl(PerlIO/encoding.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Acme/FixIO.pm) = 0.020
perl-Acme-FixIO = 0.02-alt1

Download

Type URL
Binary Package perl-Acme-FixIO-0.02-alt1.noarch.rpm
Source Package perl-Acme-FixIO-0.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Acme-FixIO rpm package:
    # sudo apt-get install perl-Acme-FixIO

Files

Path
/usr/share/doc/perl-Acme-FixIO-0.02/Changes
/usr/share/doc/perl-Acme-FixIO-0.02/LICENSE
/usr/share/doc/perl-Acme-FixIO-0.02/README
/usr/share/perl5/Acme/FixIO.pm

See Also

Package Description
perl-Acme-FizzBuzz-0.03-alt1.noarch.rpm The FizzBuzz program can be written shortest
perl-Acme-Flat-0.001001-alt1.noarch.rpm A Pure Perl reimplementation of B Internals
perl-Acme-Flip-1.0-alt1.noarch.rpm Replace alphanumeric characters in text with ones that look flipped
perl-Acme-Floral-1.04-alt1.noarch.rpm Produces fragrant perl
perl-Acme-Ford-Prefect-FFI-0.30-alt1.noarch.rpm FFI test for Alien::Base
perl-Acme-Fork-Bomb-2.0-alt1.noarch.rpm crashes your program and probably your system
perl-Acme-Fork-Lazy-0.03-alt1.noarch.rpm abstract forking with lazy variables
perl-Acme-Frog-0.001-alt1.noarch.rpm An amphibian wrapper around Carp
perl-Acme-Futuristic-Perl-0.001-alt1.noarch.rpm because Modern::Perl is too old
perl-Acme-GILLIGAN-Utils-0.02-alt1.1.noarch.rpm The great new Acme::GILLIGAN::Utils!
perl-Acme-GRYLLIDA-Utils-0.01-alt1.noarch.rpm The great new Acme::GRYLLIDA::Utils! A test module
perl-Acme-Geo-Whitwell-Name-0.04-alt1.noarch.rpm Steadman Whitwell's "rational geographic nomenclature"
perl-Acme-Github-Test-0.03-alt1.noarch.rpm A test distribution for Github
perl-Acme-Given-Hash-0.007-alt1.noarch.rpm is given() too much typing for you?
perl-Acme-Globule-0.004-alt1.noarch.rpm Extensible package-local way to override glob()
Advertisement
Advertisement