From: Itamar M. L. J. L. <ita...@gm...> - 2018-09-01 11:55:36
|
#include "hwgui.ch" REQUEST HB_CODEPAGE_PTISO REQUEST HB_CODEPAGE_UTF8 Function main() //hwg_SetAppLocale("WINDOWS-1251") hwg_SetAppLocale( "ISO8859-1" ) hb_CdpSelect( "PTISO" ) INIT DIALOG oDlg AT 0,0 SIZE 400,300 hwg_msginfo("não") test2() oDlg:Activate() Return .T. The first prg not show correct accent. show "não" and second show "não" ok. test.prg #include 'hwgui.ch' Function test2 hwg_msginfo("não!") Return Nil Now 2 show correct. If I remove lines. REQUEST and hwg_setapplocale(), work dialog.prg e faill test.prg show "não" and nothing on second "" :( Best regards, Itamar M. Lins Jr. |