Hey,
On Monday, August 4, 2014 5:30:09 PM UTC+2, Ni Va wrote:
> I am under a buffer that has utf-8 on encoding or fileencoding vars.
>
>
> I have the following content :
>
> &
> True
> "
>
>
> I would like to replace those known characters by utf-8 correponding chars and available for display and reading.
sounds like you're asking about HTML encoding and decoding.
The unimpaired.vim plugin provides operators '[x' and ']x' to encode and
decode XML and HTML entities:
http://www.vim.org/scripts/script.php?script_id=1590
With unimpaired.vim you can do 'gg]xG' to decode the entire buffer.
Note that entities look like this: '&xxxx;'. The examples you gave are
actually ill-formed: they are missing the semicolon.
--
David
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Monday, August 4, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment