2718RE: Trouble getting started with vim and utf-8 file
- Apr 8, 2011DanKegel wrote:
> The file http://winetricks.org/winetricks is, I hope, a utf-8It looks like you created that file, so you need to fix it
> file, but is not recognized as such in the vim that comes
> with ubuntu 11.04 (with german locale, even).
because it is not UTF-8.
Downloading the file with wget and dumping the bytes shows that
the character which I have shown as "?" in the following is not
title="?Torrent 3.0" \
That single byte is hex B5 or binary 10110101. That starts with
"10" which is never valid as the first byte of a character in
BTW you can find that in Vim by opening the file and typing 8g8
which jumps to the next illegal byte sequence, then typing ga to
show the value.
You received this message from the "vim_multibyte" maillist.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>