aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/coding.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index 570715a244..584ad73090 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4564,7 +4564,10 @@ ccl_coding_driver (coding, source, destination, src_bytes, dst_bytes, encodep)
if (ccl->eol_type ==CODING_EOL_UNDECIDED)
ccl->eol_type = CODING_EOL_LF;
ccl->cr_consumed = coding->spec.ccl.cr_carryover;
+ ccl->eight_bit_control = coding->dst_multibyte;
}
+ else
+ ccl->eight_bit_control = 1;
ccl->multibyte = coding->src_multibyte;
if (coding->spec.ccl.eight_bit_carryover[0] != 0)
{