ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
open (WRITE_IT,">$CFG->{admin_root_path}/amazon_template_tmp/it_other. +csv") || die "Cant write $CFG->{admin_root_path}/amazon_template_tmp/ +it_other.csv. Reason: $!"; binmode(WRITE_IT, ":utf8"); print WRITE_IT $the_contents; close(WRITEIT);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Stupid UTF-8 issue with CSV file
by ikegami (Patriarch) on Dec 05, 2016 at 18:17 UTC | |
by ultranerds (Hermit) on Dec 05, 2016 at 18:38 UTC | |
by glasswalk3r (Friar) on Dec 05, 2016 at 20:00 UTC | |
by ikegami (Patriarch) on Dec 06, 2016 at 06:18 UTC | |
by ultranerds (Hermit) on Dec 06, 2016 at 07:42 UTC | |
by ikegami (Patriarch) on Dec 06, 2016 at 20:11 UTC | |
|
Re: Stupid UTF-8 issue with CSV file
by kennethk (Abbot) on Dec 05, 2016 at 18:41 UTC | |
by ultranerds (Hermit) on Dec 05, 2016 at 18:52 UTC | |
|
Re: Stupid UTF-8 issue with CSV file
by 1nickt (Canon) on Dec 05, 2016 at 18:11 UTC | |
by ultranerds (Hermit) on Dec 05, 2016 at 18:34 UTC | |
by 1nickt (Canon) on Dec 05, 2016 at 18:43 UTC |