Dominique PellĂ© <[email protected]> writes:
> Having said that, a file could may contain invalid utf-8 with
> sequences longer than 4 bytes.
> It should be treated as errors and should not crash Vim.

File _contents_ can contain these, or random bytes that don't mean
anything, but file _names_, on Windows, are not encoded in UTF-8, and
the only invalid unicode they can contain are invalid surrogates (which
are three bytes in UTF-8).

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui