diff options
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/coding.h b/src/coding.h index 453805e233a..7b7078e06fa 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -382,9 +382,15 @@ struct ccl_spec; | |||
| 382 | 382 | ||
| 383 | struct undecided_spec | 383 | struct undecided_spec |
| 384 | { | 384 | { |
| 385 | int inhibit_nbd; /* nbd: null byte detection */ | 385 | /* Inhibit null byte detection. 1 means always inhibit, |
| 386 | int inhibit_ied; /* ied: iso escape detection */ | 386 | -1 means do not inhibit, 0 means rely on user variable. */ |
| 387 | int prefer_utf_8; | 387 | int inhibit_nbd; |
| 388 | |||
| 389 | /* Inhibit ISO escape detection. -1, 0, 1 as above. */ | ||
| 390 | int inhibit_ied; | ||
| 391 | |||
| 392 | /* Prefer UTF-8 when the input could be other encodings. */ | ||
| 393 | bool prefer_utf_8; | ||
| 388 | }; | 394 | }; |
| 389 | 395 | ||
| 390 | enum utf_bom_type | 396 | enum utf_bom_type |