Skip Menu |

This queue is for tickets about the IO-Statistics CPAN distribution.

Report information
The Basics
Id: 24867
Status: new
Priority: 0/
Queue: IO-Statistics

People
Owner: Nobody in particular
Requestors: MARKF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.12
Fixed in: (no value)



Subject: Adding tests to check utf8 works
I was curious if utf8 works. It does! This is an additional test suite #!/usr/bin/perl -w use Test::More tests => 2; use IO::Statistics; use IO::Handle; my $fh = IO::Handle->new_from_fd (fileno (STDOUT), 'w'); my $write = 0; IO::Statistics->count (undef, \$write, $fh); select $fh; print "l\x{e9}on\n"; is ($write, 5); binmode select, "utf8"; print "l\x{e9}on\n"; is ($write, 11);