John Little <[email protected]> writes:

> On Sunday, November 8, 2015 at 4:52:26 PM UTC+13, Random832 wrote:
>
>> "U+25BD WHITE DOWN-POINTING TRIANGLE"
>
> Well done, is all I can say.  
>
> How do you start an xterm in non-utf8 mode?

As far as I can tell, it's non-utf8 by default when it's started as
xterm [not uxterm] and the LC_CTYPE locale is set to a non-UTF8
locale. Since the XQuartz application menu doesn't seem to initialize
the locale variables, I was getting the issue from xterms started that
way.

> If I reset my locale to C
> and start an xterm then vim, vim uses latin1 and only the bd byte is
> output.

MacVim defaults to enc=utf-8 even with the locale set to C; I can no
longer reproduce the issue with the other versions.

> IMO, the code should explain why this magic number character is used.
> Then we'd know how to pick another, maybe.

I think it explains it well enough, it's one of the ambiguous width
characters (that is, characters that are double-width in East Asian
character sets, but single width in other character sets).

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