Bug#450663: pump fails when locale is not english

Dominique Dumont domi at komarr.gre.hp.com
Fri Feb 4 08:37:51 UTC 2011


On Thursday 03 February 2011 22:24:11 CyberDomovoy wrote:
> When using my default locale (fr_FR.UTF8), i get this error: 'ack Erreur
> d'entrée/sortie: read( 4 ) at /usr/share/perl5/IPC/Run/IO.pm line 558'
> When setting LC_ALL=POSIX, everything goes well.

I think this is related to RT bugs:
- "run() miscalculates length of UTF-8 strings"
  https://rt.cpan.org/Ticket/Display.html?id=14078
- " Pumping UTF-8 data mangles it" 
  https://rt.cpan.org/Public/Bug/Display.html?id=58853

I'm going to suggest upstream to use binmode on the file handles

All the best

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/





More information about the pkg-perl-maintainers mailing list