|
From: Alexander S.K. <al...@be...> - 2014-02-03 11:30:28
|
> > To make it work correctly in menus, datas, and gets, i use this: > > /REQUEST HB_CODEPAGE_FR850// > //REQUEST HB_CODEPAGE_FRISO// > //....// > //hwg_SetAppLocale( "ISO8859-1" )// > //hb_CdpSelect( "FRISO" )// > //SetDataCP( "CP850" ) // SetDataCP( "FR850" ) "CP850" isn't a Harbour's name for a codepage. > / > What I didn't know is use ... CODEPAGE In dbview.prg databases are opened with a codepage, defined with SetDataCP() > If I understand well, I can fill a dbf with utf-8 datas ? Yes, why not ? I'm not sure only about a possibility to use fields with utf-8 strings in indexes. There was a thread "Unicode in DBF" in november in the Harbour developers mail list. Regards, Alexander. |