Sunday, May 27, 2012

how to match all Chinese chars?

Hey,

Question: how to match all Chinese chars?

-----------------------------------
fenc=utf-16le
enc=utf-16le
termencoding=utf-16le
------------------------------------

:g/[\%u4e00-\%u9fff]/
this command doesn't work.

However
:g/\%u5728/
could match a single char '在'..

thanks in advance.

---------------
William

--
You received this message from the "vim_use" 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

No comments: