diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-07-24 20:09:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-07-24 20:09:16 +0000 |
commit | ee0f5a60e063c7e2b5aa07dff1cf5bd15e9344e4 (patch) | |
tree | 7f292fb64ab973a0a393d2b5d7b76b64f89e5eb2 /src/fileio.c | |
parent | 1387a60919113bd37e7d666b7f0e5f7eb3aa26a4 (diff) | |
download | vim-ee0f5a60e063c7e2b5aa07dff1cf5bd15e9344e4.zip |
updated for version 7.2b-021
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index d68adec84..ce5ee76e6 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5537,7 +5537,7 @@ check_for_bom(p, size, lenp, flags) int len = 2; if (p[0] == 0xef && p[1] == 0xbb && size >= 3 && p[2] == 0xbf - && (flags == FIO_ALL || flags == 0)) + && (flags == FIO_ALL || flags == FIO_UTF8 || flags == 0)) { name = "utf-8"; /* EF BB BF */ len = 3; |