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

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

Expand Messages
  • Dan Kegel
    ... Yeah, that s what I gathered from the other replies. Thanks! - Dan -- You received this message from the vim_multibyte maillist. For more information,
    Message 1 of 6 , Apr 8 5:58 PM
    View Source
    • 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.
      Thanks!
      - Dan

      --
      You received this message from the "vim_multibyte" maillist.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.