nageswaragunupudi wrote:Please give me a little time.
We both will try and find a solution soon.
? HB_CDPSELECT()
FW_SetUnicode( .t. )
nageswaragunupudi wrote:May I ask, if you browse a DBF with the same Turkish character data, are you able to see the data correctly, with FW_SetUnicode( .f. ) ?
REQUEST HB_CODEPAGE_TRWIN
HB_CDPSELECT( "TRWIN" )
//ISO 8859-9 Turkish - It does not matter with TRWIN.
// REQUEST HB_CODEPAGE_TRISO
// HB_CDPSELECT( "TRISO" )
cObj_Charset := "latin5_turkish_ci"
FW_SetUnicode( .t. )
#include "fivewin.ch"
REQUEST DBFCDX
REQUEST HB_CODEPAGE_TRWIN
static oCn
function Main()
local cDbf := "turkish\smssblon.dbf"
local cTable := cFileNoExt( cDbf )
HB_CDPSELECT( "TRWIN" )
RDDSETDEFAULT( "DBFCDX" )
oCn := FW_DemoDB()
if oCn == nil
? "Connnect Fail"
return nil
endif
? oCn:cServerInfo
if oCn:TableExists( cTable )
oCn:DropTable( cTable )
endif
oCn:ImportFromDbf( cDbf )
XBROWSER cDbf NOMODAL
XBROWSER oCn:smssblon
oCn:Close()
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 36 guests