Mike Williams wrote: > >>>> Yet more casts to cope with results of STRLEN being assigned to a > >>>> smaller int. Enjoy. > >>> > >>> The diff is messed up. It says UTF-16 but that doesn't work... > >> > >> Many apologies. I recently switched to PowerShell from cmd.exe and > >> didn't realise that hg diff > file will generate a UTF16-LE file. There > >> is some more discussion on the issue (for those still interested) here > >> (it is the second half of the posting): > >> > >> http://nbevans.wordpress.com/tag/powershell/ > > > > Vim can edit a utf-16 file, but it showed up garbled. As if a few bytes > > were missing. > > "showed up garbled" is not much of a bug report ;-) AFAICT the patch in > UTF16-LE format came through ok, at least VIM shows it as I would expect > it to be - see attached. FWIW the diff from the posting on google > groups is in UTF-8. Both have a BOM - is the source of your garbling?
Somehow unpacking the attachment must have failed. Sending a patch by .png file isn't very useful! What's next, writing it on a piece of paper and sending it by carrier pigeon? :-) Anyway, since I fired up my Windows machine and ran the vcvars64 command I managed to locate and fix the warnings myself. I'm not going to do that often though. -- Sorry, no fortune today. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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/groups/opt_out.
