open ( my $fh, ">:encoding(utf8)", "file.ini" ) or die "file.ini: $!";