paramjit has asked for the wisdom of the Perl Monks concerning the following question:
can anyone please tell me what am i doing wrong when i open the Test1.enc i get qy{z.{yŁ~ Thanks$file="Test1.enc"; open my $FH, ">:raw:encoding(UTF16-LE):crlf:utf8", "$file"; print $FH "\x{FEFF}"; print $FH "qy{zˇ{yŁ~"; print $FH "$enc1"; close $FH;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unicode in perl
by ikegami (Patriarch) on Jun 27, 2011 at 07:08 UTC | |
by paramjit (Novice) on Jun 27, 2011 at 07:43 UTC | |
by ikegami (Patriarch) on Jun 27, 2011 at 07:50 UTC | |
by paramjit (Novice) on Jun 27, 2011 at 07:58 UTC | |
by ikegami (Patriarch) on Jun 27, 2011 at 08:22 UTC | |
| |
|
Re: unicode in perl
by ikegami (Patriarch) on Jun 27, 2011 at 06:45 UTC | |
|
Re: unicode in perl
by paramjit (Novice) on Jun 27, 2011 at 06:53 UTC |