I just merged together a number of tickets having to do with Test::More not liking wide characters.

use 5.008;
use strict;
use warnings;
use Test::More tests => 1;

my $uni = "\x{11e}";

ok( $uni eq $uni, "Testing $uni" );

__END__
1..1
Wide character in print at lib/Test/Builder.pm line 1252.
ok 1 - Testing Ğ


I know almost nothing about Unicode. How do I make this Just Work? Is it safe to just set binmode to always be ':utf8' if perl > 5.8?


--
...they shared one last kiss that left a bitter yet sweet taste in her
mouth--kind of like throwing up after eating a junior mint.
    -- Dishonorable Mention, 2005 Bulwer-Lytton Fiction Contest
           by Tami Farmer

Reply via email to