[Commits] [SCM] clawsker branch, master, updated. 1.3.8-12-gb1d8fce
mones at claws-mail.org
mones at claws-mail.org
Wed Aug 28 15:23:55 UTC 2024
The branch, master has been updated
via b1d8fce1bb1475db0abc3cd44f7010476a5f4c43 (commit)
from 9e2927444cbf017e9d060b0c0eb2d593945e85c3 (commit)
Summary of changes:
clawsker | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit b1d8fce1bb1475db0abc3cd44f7010476a5f4c43
Author: Ricardo Mones <ricardo at mones.org>
Date: Wed Aug 28 17:23:46 2024 +0200
Strict UTF-8 validation everywhere
diff --git a/clawsker b/clawsker
index 354681e..ae0d097 100755
--- a/clawsker
+++ b/clawsker
@@ -2734,7 +2734,7 @@ sub load_resource {
sub save_resource {
my ($rc, $data, $meta) = @_;
- open (my $RCF, '>:utf8', $rc)
+ open (my $RCF, '>:encoding(utf8)', $rc)
or die _("Error: opening '{file}' for writing", file => $rc) . ": $!\n";
my @sections = keys %$data;
if (defined $meta) {
@@ -2815,7 +2815,7 @@ sub save_menurc {
. $gkey . '>' . $akey . '" ' . $key . ')';
}
}
- open (my $RCF, '>:utf8', $rc)
+ open (my $RCF, '>:encoding(utf8)', $rc)
or die _("Error: opening '{file}' for writing", file => $rc) . ": $!\n";
say $RCF '; claws-mail GtkAccelMap rc-file -*- scheme -*-';
say $RCF '; this file is an automated accelerator map dump';
@@ -2837,7 +2837,7 @@ sub load_history {
sub save_history {
my ($history, $text) = @_;
- open (my $HIF, '>:utf8', $history)
+ open (my $HIF, '>:encoding(utf8)', $history)
or die _("Error: opening '{file}' for writing", file => $history) . ": $!\n";
say $HIF $text;
close ($HIF);
-----------------------------------------------------------------------
hooks/post-receive
--
Hidden preferences editor for Claws Mail
More information about the Commits
mailing list