From 2c7292dc5bbf155fe2192d417363b8c085759cad Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 5 Mar 2017 17:43:31 +0100 Subject: patch 8.0.0420: text garbled when the system encoding differs from 'encoding' Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata) --- src/buffer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 6edb48a6f..c25cb2f1a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2255,6 +2255,9 @@ free_buf_options( clear_string_option(&buf->b_p_lw); #endif clear_string_option(&buf->b_p_bkc); +#ifdef FEAT_MBYTE + clear_string_option(&buf->b_p_menc); +#endif } /* -- cgit v1.2.1