projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8801c35
)
open modify file with utf-8 encoding
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 26 Mar 2018 13:34:53 +0000
(15:34 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 26 Mar 2018 13:34:53 +0000
(15:34 +0200)
lib/WebPAC/Input.pm
patch
|
blob
|
history
diff --git
a/lib/WebPAC/Input.pm
b/lib/WebPAC/Input.pm
index
462a303
..
df2e052
100644
(file)
--- a/
lib/WebPAC/Input.pm
+++ b/
lib/WebPAC/Input.pm
@@
-704,7
+704,7
@@
sub modify_file_regexps {
my $regexpes;
- CORE::open(my $fh, $modify_path) || $log->logdie("can't open modify file $modify_path: $!");
+ CORE::open(my $fh,
'<:encoding(utf-8)',
$modify_path) || $log->logdie("can't open modify file $modify_path: $!");
my ($f,$sf);