add utf8 support

This commit is contained in:
Bradley M. Kuhn 2022-06-21 10:15:00 -07:00
parent 96d75986f2
commit 284d5889b1

View file

@ -2,11 +2,15 @@
use strict;
use warnings;
use utf8;
use DBI;
use Encode qw(encode decode);
use Supporters;
binmode STDOUT, ":utf8";
binmode STDIN, ":utf8";
if (@ARGV != 1 and @ARGV !=2) {
print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n";
exit 1;