Dominique Pelle wrote: > Consider the Ex command ":s/ \?/ /g". > > It transforms a line "foo bar" into " f o o b a r " (good so far). > > Now, if the line contains multibyte characters, it no longer works. > If current line contains "café bar" for example, it transforms it > into "c a f <c3> <a9> b a r" (bad). > > Tested with Vim-7.3.177 on Linux with a utf-8 locale.
I can reproduce it. -- hundred-and-one symptoms of being an internet addict: 57. You begin to wonder how on earth your service provider is allowed to call 200 hours per month "unlimited." /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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