aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorFloris van Liere <Floris.van.Liere@gmail.com>2015-03-07 14:06:37 +0100
committerJustin M. Keyes <justinkz@gmail.com>2015-03-07 17:53:04 -0500
commit57811dec95dba83fa9ed50e32bdad138dd586720 (patch)
treeaa420b3e7612115e21023cf0c22c8a899413aa53 /src/nvim/buffer.c
parent85f5115723e22febea98764710d0b5f18e2c9330 (diff)
downloadrneovim-57811dec95dba83fa9ed50e32bdad138dd586720.tar.gz
rneovim-57811dec95dba83fa9ed50e32bdad138dd586720.tar.bz2
rneovim-57811dec95dba83fa9ed50e32bdad138dd586720.zip
set_init_1: mb_init() on fallback encoding (utf8) #2106
Explanation: Running `:set encoding=utf-8` _after_ startup correctly initializes multibyte; but mb_init() was _not_ called during startup if locale detection (enc_locale()) failed. This wasn't a problem in Vim because the Vim default encoding (latin1) does not require mb_init(). But Nvim defaults to utf8, so mb_init() is required. closes #1271 closes #1672
Diffstat (limited to 'src/nvim/buffer.c')
0 files changed, 0 insertions, 0 deletions