I also see this issue once I use GVim and not terminal Vim.

On Tuesday, March 3, 2015 at 10:37:53 PM UTC+3, Christian Brabandt wrote:
> Hi Simon!
> 
> On Di, 03 Mär 2015, Simon Kohlmeyer wrote:
> 
> > Hi everyone,
> > 
> > I'm having a problem with the statusline in gvim.
> > After certain three-byte utf-8 chars[1], nbsp chars[2] are not displayed
> > as spaces but as boxes with their utf8 code.
> 
> There seem to be two issues here:
> - Display of the non-breaking spaces U+00A0 as boxes:
>   I do not see this here. They are displayed like spaces as expected.
>   Could that be a font issue? Does it work in the terminal?

In cases when I see U+00A0 as a box I also see U+0020 (regular space) as a box. 
This depends on the font: I do not see this with Terminus (`fc-list` suggests 
this is the patched one which contains Powerline glyphs), but I see this with 
empty &guifont or Droid Sans Mono.

Same problem may or does not appear when I paste `:let &stl=" x"`, but does 
when I navigate to it from history using down key (*not* up). Without `x` this 
exact statusline (:let &stl="\uE0B0 x") appears as a sequence of boxes.

I am able to reproduce this issue only with powerline glyphs from private use 
area. Unable to do so with other glyphs from private use area not present in 
Droid Sans Mono (e.g. "\uF0A5").

Not reproducible in konsole with terminal Vim.

By the way, how can I determine from which font fontconfig takes some glyph? I 
believe the problem is with powerline fontconfig configuration file, in which 
case it may be fixed by taking code from other font’s configuration file.

> - Display of the <Tab> as ^I
>   As far as I can tell, this happens on purpose. I do not know why, 
>   however.
> 
> > This can be reproduced by running the following commands in a fresh[3] gvim:
> > 
> > set laststatus=2
> > let &stl="  x             x   "
> > 
> > Please note that some of these are non-breakable spaces[2] or tabs. I
> > hope they survive the mailing list, if not, I also uploaded it as a tar[4].
> > 
> > Here's a picture of what happens:
> >   http://absolute.fail/vim_statusline_bug.png
> > 
> > I assume this is a bug, and I hope that somebody can help me figure out
> > what causes this. I'm afraid I don't have enough time at my hands to dig
> > in the code myself at the moment.
> 
> Thanks for the clear explanation.
> 
> Best,
> Christian
> -- 
> Ein Mann ging zur Bank und sagte: "Ich möchte ein kleines Unternehmen
> gründen."
> Sagt der Bankmanager: "Kaufen Sie ein großes und warten Sie ein paar Tage."

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

Raspunde prin e-mail lui