[Gambas-user] NCURSES ACS_STERLING revisited
Tobias Boege
taboege at gmail.com
Sun Jun 23 19:43:16 CEST 2019
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
More information about the User
mailing list