add utf8 support
This commit is contained in:
parent
96d75986f2
commit
284d5889b1
1 changed files with 4 additions and 0 deletions
|
@ -2,11 +2,15 @@
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use utf8;
|
||||||
|
|
||||||
use DBI;
|
use DBI;
|
||||||
use Encode qw(encode decode);
|
use Encode qw(encode decode);
|
||||||
use Supporters;
|
use Supporters;
|
||||||
|
|
||||||
|
binmode STDOUT, ":utf8";
|
||||||
|
binmode STDIN, ":utf8";
|
||||||
|
|
||||||
if (@ARGV != 1 and @ARGV !=2) {
|
if (@ARGV != 1 and @ARGV !=2) {
|
||||||
print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n";
|
print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n";
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|
Loading…
Reference in a new issue