Bug#397162: vim shows question mark instead of character
taneli.vahakangas at welho.com
Mon Feb 12 19:33:29 UTC 2007
On Mon, Feb 12, 2007 at 04:29:02PM +0100, Stefano Zacchiroli wrote:
> tags 397162 + moreinfo
> > Attached UTF-8 encoded file contains the following characters: U+0022
> > U+0010380 U+0022 instead of showing the cuneiform for U+00010380
> > (UGARITIC LETTER ALPA), vim shows a question mark. vim has no problem
> > displaying for example japanese or extended latin characters. cat
> > shows the file correctly.
> According to :help usr_45.txt, that's the "correct" behaviour of vim
> when the terminal is not able to display a given unicode character.
> Still, if actually you're able to see the file with cat then vim is
> apparently wrong about your terminal capabilities.
BTW, I don't know if the terminal _announces_ being capable of this
feat, it just happens to work with cat ...
> Unfortunately I'm not able to reproduce the bug since none of my
> terminals seem to be able to show the glyph with plain cat. Could you
> please give us more info about how to see the glyph in a given terminal?
> (e.g. which fonts we need, which locale, ...).
I'm using gnome-terminal 2.14.2-1 with "Luxi Mono" font set to size 9.
Possibly that font does not include the letter in question: how do I
tell? OTOH, Character Map shows a tooltip saying "MPH 2B Damase" when
I right-click on ugaritic characters, so you can try that:
I have LC_ALL=fi_FI.utf8
More information about the pkg-vim-maintainers