[Gambas-user] NCURSES ACS_STERLING
KKing
kicking177 at gmail.com
Sun May 26 19:13:37 CEST 2019
on my dev machines any terminal tells me
LANG=en_GB.UTF-8
also the intended units do not have X, and the local there is also
LANG=en_GB.UTF-8
btw, I also get M-BM-* on those units with no X with gambas, works with
pure C.
<<
The fact that you get M-BM-* suggests [1] that your terminal does not
handle UTF-8.
>>
if i CTL+Right Mouse click on XTerm I can see UTF-8 fonts is ticked?
<<
but just a Window.Print() with a UTF-8 encoded string should work
>>
so how should I for example do
Window.Print("UK pound symbol: £")
differently to ensure it is UTF-8 encoded?
<<
It works here on Konsole, urxvt and xterm under en_US.utf8
locale (doesn't under C locale FWIW)
>>
I added Konsole, same issue as with xterm, LXTerm. Though I am running
en_GB.UTF-8
OTOH it does work under C either just keying it (with UK keyboard) or
using the ACS constant....
<<
I could also add the ACS constants to gb.ncurses.
>>
That might be the most robust/reliable cross locale way forward?
K.
More information about the User
mailing list