From 175ecce690b06de2053ff60aa1d1ad84bd72e724 Mon Sep 17 00:00:00 2001 From: lshprung Date: Thu, 9 Sep 2021 18:07:22 -0700 Subject: Fixed encoding issue for utf8 character sets --- build_db.plx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build_db.plx') diff --git a/build_db.plx b/build_db.plx index 40e5363..4ef65c5 100755 --- a/build_db.plx +++ b/build_db.plx @@ -249,6 +249,8 @@ for my $file (@file_list){ $statement =~ s/[,]$/\n/g; # Specify this insertion is for $file only + # Encode to fix issues with non-ascii characters + utf8::encode($statement); $statement = $statement . "WHERE PATH = \"$file\";"; #FIXME MCDI tag is binary. This should be considered and handled in a secondary file -- cgit