Hi!
I'm converting a program made with hwgui on Windows to use on Linux.
The text editor uses PTISO or iso8859-1(windows OS).
I set the RDD to:
HB_CDPSELECT([PTISO])
And the harbour error messages for
hb_langselect([PT])
And in the Windows environment everything works normally.
In the Linux environment, words that use accents are not appearing on the screen. (Portuguese)
Using hwg functions for example:
Hwg_MsgInfo('áéíóú') does not appear.
I attach the screen with error.
I need help to solve this problem.
Best regards,
Itamar M. Lins Jr.
Hi!
I found function -> hwg_SetAppLocale( "ISO-8859-1" )
And fix may problem.
Best regards,
Itamar M. Lins Jr.
Yes, hwg_setAppLocale() set the codepage, which will be used to automatically convert all strings, which will be shown on the screen, to utf8.
Is the problem fixed?