On Sat, 01 Nov 2008, Tony Mechelynck wrote:
> 
>       :%s/\[\(\x\x\x\x\)?]/\=eval('"\u' . submatch(1) . '"')/g
 
Thanks. This works. Those files were edited using m$ ime that did not
support codepoint above U+10000.

A related question. I have a number of such files that need fixes.
How do I grep and replace them all under linux.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to