I am asking Rao to review it, thanks
I am asking Rao to review it, thanks
Hi,
I can convert my dbf file to MariaDB using importfromdbf with "latin5_turkish_ci". I see the right characters in HeidiSQL. There is not problem.
But all turkish characters are shown "?" in gets and xbrowse.
Hi,
Is it possible?. Is there any scheduled time?
Hi Mr. Rao,
Is there any hope?
Please give me a little time.
We both will try and find a solution soon.
nageswaragunupudi wrote:Please give me a little time.
We both will try and find a solution soon.
up!
up!!

We try to use latin5, latin5 is ISO 8859-9 Turkish.
In selected line says Language identifier is TRISO.
? HB_CDPSELECT()
FW_SetUnicode( .t. )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. ) ?
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