more useful options | |
PerlMonks |
Re^11: how to output file in Unicodeby anakin30 (Acolyte) |
on Aug 28, 2012 at 07:17 UTC ( [id://990163]=note: print w/replies, xml ) | Need Help?? |
i changed it once, but it doesn't work out, i still seeing the character as "Björn". i don't know why? but how to ensure the output was delivered in UTF-8 encoded? is there any way i can prove? why the string still displayed as "Björn" even though i set the output to encoding(UTF-8), as below line open (OUTPUT, ">:encoding(UTF-8)",$outputfile) or die "Cannot open filename for input: $!";
In Section
Seekers of Perl Wisdom
|
|