Loading ...
Sorry, an error occurred while loading the content.

2719Re: Trouble getting started with vim and utf-8 file

Expand Messages
  • Dan Kegel
    Apr 8, 2011
    • 0 Attachment
      On Sat, Apr 9, 2011 at 12:13 AM, John Beckett <johnb.beckett@...> wrote:
      > It looks like you created that file, so you need to fix it
      > 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
      > valid UTF-8:
      >   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
      > UTF-8.
      > 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.

      Yeah, that's what I gathered from the other replies.
      - Dan

      You received this message from the "vim_multibyte" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 6 messages in this topic