[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] What do I need to do to get £ sign (GBP , pound sterling) to

From: Thomas Dickey
Subject: Re: [vile] What do I need to do to get £ sign (GBP , pound sterling) to display in vile?
Date: Thu, 08 May 2014 16:04:12 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, May 08, 2014 at 11:19:40AM -0700, Brendan O'Dea wrote:
> On 8 May 2014 04:07, Chris Green <address@hidden> wrote:
> > I guess I must have left out a compilation option (or something) when
> > I built vile, I'm seeing '\u00A3' when I type £ (GBP pound sign).
> > I.e. my UTF8 setting has gon awry somewhere.
> >
> > The GBP sign is actually entered correctly and displays OK when I cat
> > the file in a terminal etc.  It's also working correctyl in xvile.
> The fact that it is displaying as \u00A3 and not \xC2\x83 says that
> vile is built to handle unicode, and is correctly recognising the
> file's encoding as utf-8 ($buf-encoding), but is unable to display it.

Also (presumably) his locale settings are the same for vile and xvile.

> What is $term-encoding? Which screen did you configure with? tcap,
> curses? ncurses?

That can be checked using ":show-variables".  For instance I have this:

$cfgopts = hypertext,locale,iconv,multibyte,perl,terminfo
> For the record, this works for vile 9.8m for me on a Ubuntu machine
> compiled with the default screen type of "tcap".

same here...

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]