[Gambas-user] NCURSES ACS_STERLING revisited

Fabien Bodard gambas.fr at gmail.com
Mon Jun 24 08:39:21 CEST 2019


It is a problem with the terminal I think

Le dim. 23 juin 2019 19:44, Tobias Boege <taboege at gmail.com> a écrit :

> On Sun, 23 Jun 2019, KKing wrote:
> > still wrestling with this, with LOCALE of en_GB.UTF-8 the UK currency
> symbol
> > works in C not in Gambas when using NCURSES?
> >
> > in C
> > <<
> > #include ncurses.h
> > initscr()
> > printw("Hello World£\n");
> > >>
> >
> > results in "Hello World" followed by the UK Currency symbol
> >
> >
> > in Gambas do
> > <<
> > $hText = New Window(False,0,0,80,25) as "Test"
> > $hText.Print("Hello World£",2,2)
> > >>
> >
> > results in "Hello World" followed by "M-BM-#"
> >
> > I'm using Gambas 3.13.0 compiled from source, is it a compile time
> setting
> > (though the UK currency symbol works fine in normal Gambas GUI. I'm
> > presuming the Euro symbol is similarly affected
> >
>
> For me, it's exactly the opposite. The C program does not display
> the pound sign, no matter if I link it to ncurses or ncursesw, but
> the Gambas program with gb.ncurses and ncursesw does. I don't know
> what else to tell you.
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190624/27e81926/attachment.html>


More information about the User mailing list