Read and write UTF-8 in address scripts.
This commit is contained in:
parent
22e02fb40e
commit
9655c13220
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,9 @@ use DBI;
|
|||
use Encode qw(encode decode);
|
||||
use Supporters;
|
||||
|
||||
binmode STDIN, ":utf8";
|
||||
binmode STDOUT, ":utf8";
|
||||
|
||||
if (@ARGV != 1 and @ARGV !=2) {
|
||||
print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n";
|
||||
exit 1;
|
||||
|
|
|
@ -7,6 +7,9 @@ use DBI;
|
|||
use Encode qw(encode decode);
|
||||
use Supporters;
|
||||
|
||||
binmode STDIN, ":utf8";
|
||||
binmode STDOUT, ":utf8";
|
||||
|
||||
if (@ARGV != 1 and @ARGV !=2) {
|
||||
print STDERR "usage: $0 <SUPPORTERS_SQLITE_DB_FILE> <VERBOSITY_LEVEL>\n";
|
||||
exit 1;
|
||||
|
|
Loading…
Reference in a new issue