wabbit has asked for the wisdom of the Perl Monks concerning the following question:
# This exports text as UTF8 open(TXT, ">:encoding(utf8)", 'c:\utf8_01.txt'); print TXT <<EOP; <?xml version='1.0' encoding='UTF-8' standalone='yes' ?> EOP ; close TXT; # This exports text as Windows 1252 open(TXT, ">:encoding(utf8)", 'c:\utf8_01.txt'); print TXT <<EOP; xml version='1.0' encoding='UTF-8' standalone='yes' ?> EOP ; close TXT; # This exports text as Windows 1252 open(TXT, ">:encoding(utf8)", 'c:\utf8_01.txt'); print TXT <<EOP; <?xml version='1.0' encoding='UTF-8' standalone='yes' ?> EOP ; close TXT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing files as UTF-8
by graff (Chancellor) on Feb 19, 2007 at 07:09 UTC | |
|
Re: Writing files as UTF-8
by ady (Deacon) on Feb 19, 2007 at 07:07 UTC |