Loading ...
Sorry, an error occurred while loading the content.

718Re: [BUG] Ambiguous-width character handling

Expand Messages
  • Autrijus Tang
    Sep 18, 2002
      On Thu, Sep 19, 2002 at 07:45:37AM +0800, Autrijus Tang wrote:
      > To observe this bug, move the cursor to the end of the following line
      > by pressing '$':
      >
      > ???1234???1234???1234???1234???1234???1234???1234???1234???1234???1234???1234

      Oops, make that:

      █1234█1234█1234█1234█1234█1234█1234█1234█1234█1234█1234

      > Therefore, may I suggest a new buffer-local option, 'ambiguouswidth', which
      > can have either of the following values:

      With a little digging I found this entry in the :help todo entry:

      8 Some UTF-8 have an ambiguous width (single or double).
      Should inspect the font to find out what will be displayed. (Long)

      However I'm a little perplexed in how would you inspect the font under the
      console (with big5con, imcce or other multibyte vga terminals), or within
      the X terminal? It seems to me that the "inspect the font to find out"
      way only works in GVIM; please correct me if I'm mistaken.

      Thanks,
      /Autrijus/
    • Show all 7 messages in this topic