|
From: Alexander S.K. <al...@be...> - 2014-01-31 07:48:12
|
Alain Aupeix writes: > But I don't understand the purpose of hb_CdpSelect() and SetDataCP() > > It works without using it. SetDataCP() isn't a HwGUI function ( all HwGUI functions are prefixed with hwg_ ), it is determined in dbview.prg, and the only thing it does is setting a Public variable DataCP - if is is set, dbf files are opened with DataCP as a codepage. Using of hb_CdpSelect() and SetDataCP() is needed, if they set different codepages - in this case all data from the dbf is automatically converted from its codepage to that one, which is set by hb_CdpSelect(). > But, there is also another similar problem in gets. I suppose I will > have to modify some prg in hw-gui libs (hb_cdpselect() and SetdataCP > don't solve the problem. > > Example: prÛnom instead of prénom > Sorry, I didn't understand, what the problem is. Regards, Alexander. |