Skip to content
Snippets Groups Projects
Unverified Commit a72b6192 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

dumpstops: encode output as UTF-8

parent 875ec1c3
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,8 @@ sub run {
$self->help;
}
elsif ( $command eq 'csv' ) {
open( my $fh, '>', $filename ) or die("open($filename): $!\n");
open( my $fh, '>:encoding(utf-8)', $filename )
or die("open($filename): $!\n");
my $csv = Text::CSV->new( { eol => "\r\n" } );
$csv->combine(qw(name eva lat lon source archived));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment