Sorry, I do not understand the concept top post, but I guess you mean start a new thread for a different question ;-)
I just needed to add a /g in order to get is done everywhere. Thanks! Very helpful for me to understand even more the power of vim :) On 01/02/2010, Christian Brabandt <[email protected]> wrote: > On Mon, February 1, 2010 4:49 pm, bw wrote: >> 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 -- [Bb](astia{2}n)?\s?[Ww](ak{2}ie)?$ -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
