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.

-- 
   Arthur pulls Pin out.  The MONK blesses the grenade as ...
ARTHUR:  (quietly) One, two, five ...
GALAHAD: Three, sir!
ARTHUR:  Three.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// 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.


Raspunde prin e-mail lui