don't drop non-ascii characters by default

This corresponds to `-A` option description.
This commit is contained in:
Vladimir Rutsky
2015-02-19 20:48:44 +03:00
parent 1758d99d4d
commit b842480cd5

View File

@@ -97,7 +97,7 @@ main(int argc, char **argv)
char **bound_values; char **bound_values;
int *bound_lens; int *bound_lens;
FILE *outfile = stdout; FILE *outfile = stdout;
drop_nonascii = 1; drop_nonascii = 0;
int opt; int opt;
char *value; char *value;
size_t length; size_t length;
@@ -105,7 +105,7 @@ main(int argc, char **argv)
while ((opt=getopt(argc, argv, "AD:"))!=-1) { while ((opt=getopt(argc, argv, "AD:"))!=-1) {
switch (opt) { switch (opt) {
case 'A': case 'A':
drop_nonascii = 0; drop_nonascii = 1;
break; break;
case 'D': case 'D':
mdb_set_date_fmt(optarg); mdb_set_date_fmt(optarg);