Fix some multibyte problems

Sadly, this is solved in a different way in splitjoin, but I don't feel
like replicating it. Still don't know how I want to pull this off in
both places. Vimscript is hard.