Hi!

The following command:

    :echo strwidth(printf("%10s", "äöü"))

prints 7 if enc=utf8. I naively assumed it would print 10.

Is this intended? Is there an (easy) way to make printf() respect multi-byte 
encodings?

Regards,
Tom

-- 
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

Raspunde prin e-mail lui