in reply to Re^2: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma? ("XS")
in thread Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma?
I mean , this is terminal problem , doesn't it ?print qq("BLACK SPADE SUIT","BLACK HEART SUIT","BLACK DIAMOND SUIT","B +LACK CLUB SUIT",\n); #decimail unicode character for above; my @ary=("♠","♥","♦","♣"); foreach my $target(@ary) { $target =~ s/\&#(.*);/$1/; print '"' . encode('utf8', chr($target)) . '",'; } print "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why Doesn't Text::CSV_XS Print Valid UTF-8 Text When Used With the open Pragma? ("XS")
by Anonymous Monk on Oct 02, 2011 at 08:33 UTC | |
by remiah (Hermit) on Oct 02, 2011 at 14:38 UTC | |
by Tux (Canon) on Oct 02, 2011 at 15:52 UTC |