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
When an application forks a Vim that is not compiled with the
netbeans_intg feature, the application waits for Vim to establish the
socket connection and Vim silently ignores the -nb command line
argument. It is difficult for the user to understand what is wrong.
The attached patch causes Vim to
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
---