Skip to content

Commit a31dd3a

Browse files
committed
Correct encoding of parsed SQL files.
1 parent 511082a commit a31dd3a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Not Released
44
- customers and vendors in Switzerland can be updated with data from UID Register
55
- payments in foreign currencies use exchange rate of transaction as default
66
- script that generates and distributes templates for multiple datasets
7+
- encoding of parsed SQL files corrected
78

89
3.2.12.61 2025-09-10
910
- query to change database password corrected

SL/User.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ sub process_query {
489489

490490
return unless (-f $filename);
491491

492-
open(FH, "$filename") or $form->error("$filename : $!\n");
492+
open(FH, '<:encoding(UTF-8)', "$filename") or $form->error("$filename : $!\n");
493493
my $query = "";
494494
my $loop = 0;
495495
my $i;

0 commit comments

Comments
 (0)