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
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: and
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.


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


Name Value
/usr/share/perl5 -
perl( -
perl( -
perl(PerlIO/ -
rpmlib(PayloadIsLzma) -


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


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] noarch autoimports
    rpm [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



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()