pcouderc has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl -w
use warnings;
gives meuse strict; use Encode; my $lineo ='azertyuiop'; my $line = encode("utf8",$lineo); open(TEK,">:utf8","temp.tex") || die("Cannot Open File"); print TEK $line; print TEK <<EOF; 123456<<<<< EOF close TEK;
and all my other trials so... How to get utf8 in output? Thank you , o wise emonks..0000000 a z e r t y u i o p 1 2 3 4 5 +6 61 7a 65 72 74 79 75 69 6f 70 31 32 33 34 35 36 0000020 < < < < < nl 3c 3c 3c 3c 3c 0a
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: lost in utf8
by almut (Canon) on Oct 17, 2009 at 07:57 UTC | |
by pcouderc (Monk) on Oct 17, 2009 at 14:51 UTC | |
Re: lost in utf8
by ikegami (Patriarch) on Oct 20, 2009 at 01:05 UTC | |
by oha (Friar) on Oct 23, 2009 at 20:03 UTC | |
by ikegami (Patriarch) on Oct 23, 2009 at 20:24 UTC |
Back to
Seekers of Perl Wisdom