> Your last comment made me think. I would like all the html encoded
> parts like É, é ’ etc... to be transformed into real
> utf8 as the feed should be utf8. (É, é and ')
Please don't top post.
Regarding your question, I believe this:
:%s/&#\(\d\+\);/\=printf("%s ", nr2char(str2nr(submatch(1),10)))/
should do what you want.
regards,
Christian
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment