Re: Re : tr() problem ?
- Ben Schmidt wrote:
> On 11/02/11 11:02 PM, Dimitar DIMITROV wrote:Thanks Ben!
> > I just tested:
> > :com! Test ec '♛'
> > then
> > :Test prints ♀<fd>Q
> > :ec '♛' prints '♛'
> > So the problem is :com related not tr() as previously thought
> Attached is the fix.
> K_SPECIAL is not a multibyte character code, so vim_strchr is not an
> appropriate way to search for it. A bytewise search of the string is
ARTHUR: Be quiet!
DENNIS: Well you can't expect to wield supreme executive power just 'cause
some watery tart threw a sword at you!
ARTHUR: Shut up!
DENNIS: I mean, if I went around sayin' I was an empereror just because some
moistened bint had lobbed a scimitar at me they'd put me away!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- Bram@... -- 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