Thursday, August 30, 2012

Re: ASCIIfication (removal of accent, cedilla, etc)

Am 30.08.2012 04:36, schrieb Tim Chase:
> I've got some Portuguese text that I need to perform some
> transformations on to make them ASCII (7-bit). That means removing
> accent marks, cedillas, tildes, etc.
>
> Is there some fast transform in Vim that I've missed, or an easy way
> to go about this?
>
> Thanks,
>
> -tim

From the pattern point of view, there are equivalence classes:
/[[=

Maybe this can be used in:
:%s/[[=e=]]/e/g
etc.

--
Andy

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

Post a Comment