Carlo Trimarchi <[email protected]> [11-06-13 13:52]:
> Hi,
> I am using Vim 7.3.35 on Ubuntu.
>
> I am italian, so a lot of the text I write contains accented letters
> such as à, è, é, ì, ò, ù.
> I can write these on vim, and they are displayed correctly from the
> shell with the "less" command and even if I open the file with gedit.
> The problem is that if I use these letters in a html file, then the
> browser displays things like this:
> èòà ùòòùà ò+è++èòòòòùà ò^ììpùà ùòùà òùà òùò+òùò
>
> What can I do?
>
> Thanks.
>
> --
> 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
>
Hi Carlo,
I guess that the browser does not understand the encoding of
those letters.
In vim with a file containing those letter type
:set encoding?
and type <ENTER>.
Html uses utf-8 most of the time, maybe you have latin1-encoded
your file...
Good luck!
Best regards,
mcc
--
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