in reply to Re^2: Stupid UTF-8 issue with CSV file
in thread Stupid UTF-8 issue with CSV file
What happens if you force the file to be written as UTF-8?
open(my $output, '>:utf8', $filename) or die "Cannot write $filename: +$!";
Considering that the CVS data is in UTF-8, which is a good idea anyway unless you have restrictions for it.
You should be using open with three arguments anyway, it is a good practice.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Stupid UTF-8 issue with CSV file
by ikegami (Patriarch) on Dec 06, 2016 at 06:18 UTC |