mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.2-033
This commit is contained in:
parent
121932191b
commit
223a18948c
@ -5550,9 +5550,10 @@ check_for_bom(p, size, lenp, flags)
|
|||||||
name = "ucs-4le"; /* FF FE 00 00 */
|
name = "ucs-4le"; /* FF FE 00 00 */
|
||||||
len = 4;
|
len = 4;
|
||||||
}
|
}
|
||||||
else if (flags == FIO_ALL || flags == (FIO_UCS2 | FIO_ENDIAN_L))
|
else if (flags == (FIO_UCS2 | FIO_ENDIAN_L))
|
||||||
name = "ucs-2le"; /* FF FE */
|
name = "ucs-2le"; /* FF FE */
|
||||||
else if (flags == (FIO_UTF16 | FIO_ENDIAN_L))
|
else if (flags == FIO_ALL || flags == (FIO_UTF16 | FIO_ENDIAN_L))
|
||||||
|
/* utf-16le is preferred, it also works for ucs-2le text */
|
||||||
name = "utf-16le"; /* FF FE */
|
name = "utf-16le"; /* FF FE */
|
||||||
}
|
}
|
||||||
else if (p[0] == 0xfe && p[1] == 0xff
|
else if (p[0] == 0xfe && p[1] == 0xff
|
||||||
|
Binary file not shown.
@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
33,
|
||||||
/**/
|
/**/
|
||||||
32,
|
32,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user