[Gambas-user] NCURSES ACS_STERLING revisited

KKing kicking177 at gmail.com
Sun Jun 23 19:24:18 CEST 2019


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

K.


More information about the User mailing list