Yanwei wrote:
For a 2 byte BOM FF FE, ucs-2le is used, which doesn't work for
little-endian UTF-16 text. Like the patch 7.1.261, the only difference
is the byte order. And I have also writen a patch for Vim-7.2.025:
Looks good, thanks. I'll include it.
--
hundred-and-one symptoms of
On 18/10/08 10:41, JiaYanwei wrote:
For a 2 byte BOM FF FE, ucs-2le is used, which doesn't work for
little-endian UTF-16 text.
Like the patch 7.1.261, the only difference is the byte order.
And I have also writen a patch for Vim-7.2.025:
I confirm that Vim 7.2.25 with 'fencs' starting in
For a 2 byte BOM FF FE, ucs-2le is used, which doesn't work for
little-endian UTF-16 text.
Like the patch 7.1.261, the only difference is the byte order.
And I have also writen a patch for Vim-7.2.025:
*** ../vim-7.2.025/src/fileio.c Wed Oct 15 15:09:56 2008
--- src/fileio.cSat Oct 18
Hello Tony,
Thanks for your helpful suggestion.
By the way, wish Bram a wonderful holiday.
on 2008-10-18 18:18:45, Tony Mechelynck wrote:
I confirm that Vim 7.2.25 with 'fencs' starting in ucs-bom identifies
UTF-16le files with BOM as if they were UCS-2le, even if codepoints
above U+ are
JiaYanwei wrote:
For a 2 byte BOM FF FE, ucs-2le is used, which doesn't work for
little-endian UTF-16 text. Like the patch 7.1.261, the only difference is the
byte order.
And I have also writen a patch for Vim-7.2.025:
*** ../vim-7.2.025/src/fileio.c Wed Oct 15 15:09:56 2008
---