":set all&" might change &encoding without reexecuting "mb_init()", if encoding was changed earlier from the locale default, leaving multibyte handling in inconsistent state.
To reproduce (assuming utf-8 locale): vim -u NONE --cmd "set enc=latin1" Inside vim, type ":set all&", now ":set enc" shows "utf-8", but vim still behaves as if enc=latin1, and by running inside gdb and "break mb_init", it is confirmed that mb_init wasn't reexecuted. Earlier discussion: https://github.com/neovim/neovim/pull/2929#issuecomment-128849173 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
