Lines 45-50
Link Here
|
45 |
static char *snwhiteopt = NULL; |
45 |
static char *snwhiteopt = NULL; |
46 |
static char *deficon = NULL; |
46 |
static char *deficon = NULL; |
47 |
static char *category = NULL; |
47 |
static char *category = NULL; |
|
|
48 |
static char *encoding = NULL; |
48 |
static char *categorybitsopt = NULL; |
49 |
static char *categorybitsopt = NULL; |
49 |
static int categorybits; |
50 |
static int categorybits; |
50 |
static int receiver_must_upper = 1; |
51 |
static int receiver_must_upper = 1; |
Lines 71-76
Link Here
|
71 |
NULL, ARGTYPE_BOOL, ARG_NOMINMAX}, |
72 |
NULL, ARGTYPE_BOOL, ARG_NOMINMAX}, |
72 |
{ "category", &category, "Category number to use for written waypoints", |
73 |
{ "category", &category, "Category number to use for written waypoints", |
73 |
NULL, ARGTYPE_INT, "1", "16"}, |
74 |
NULL, ARGTYPE_INT, "1", "16"}, |
|
|
75 |
{ "encoding", &encoding, "Override auto-detected encoding", |
76 |
NULL, ARGTYPE_STRING, ARG_NOMINMAX}, |
74 |
{ "bitscategory", &categorybitsopt, "Bitmap of categories", |
77 |
{ "bitscategory", &categorybitsopt, "Bitmap of categories", |
75 |
NULL, ARGTYPE_INT, "1", "65535"}, |
78 |
NULL, ARGTYPE_INT, "1", "65535"}, |
76 |
ARG_TERMINATOR |
79 |
ARG_TERMINATOR |
Lines 226-231
Link Here
|
226 |
} |
229 |
} |
227 |
|
230 |
|
228 |
} |
231 |
} |
|
|
232 |
|
233 |
/* |
234 |
* Encoding override |
235 |
*/ |
236 |
if (encoding) { |
237 |
receiver_charset = encoding; |
238 |
if (global_opts.debug_level > 0) |
239 |
fprintf(stderr, "Encoding overrided to \"%s\"\n", |
240 |
receiver_charset); |
241 |
} |
229 |
/* |
242 |
/* |
230 |
* If the user provided a short_length, override the calculated value. |
243 |
* If the user provided a short_length, override the calculated value. |
231 |
*/ |
244 |
*/ |