Friday, February 7, 2014

Re: UTF-8 Question

On 2014-02-07 15:05, Andrew DeMaria wrote:
> I ran into the following behavior when trying to enter in the
> following.
>
> s followed by U20e6 (s^Vu20e6):
>
> s||
>
> However, I expected it to be overlayed.
> Now, if I typed (notice the additional s on the end):
>
> s^Vu20e6s
>
> I would get a normal s followed by one that was properly overlaid.
>
> Now even weirder is if I then moved my cursor to the left of the
> previously typed sequence, the overlaid marks disappeared. If I
> moved the cursor back to the right, it would show back up.

Are you running this in vim (and if so, which console) or gvim?
And do you see the same behavior when you start up with no vimrc?

gvim -u NONE -c 'set enc=utf8'

When I try it here in gvim, I get what I expect: typing "s
<control+v> u20e6" gives me an "s" overlaid with a vertical bar, and
typing "s <control+v> u20e6 s" gives me the same thing with a 2nd "s"
after it.

If it works in gvim but not in a terminal, I'd start by trying in
various terminals to see if it's a peculiarity of your particular
terminal.

-tim



--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: