>I have to customize an application to work with CP1250, but it doesn't work. I can see only some garbage on screen instead of wanted characters.
>Is there any suggestion related to this?
>Thanks in advance!
Goran,
First use cpzero (home()+"tools\cpzero\cpzero") to mark your table with the codepage it was created (DOS or Windows). Then in config.fpw add :
codepage = 1250
(sometimes codepage=Auto default setting doesn't work. But you don't need this if in fox ? cpcurrent() returns 1250 already).
But CP 1250 might not be the correct CP to show those chars. ie: My FP 2.x DOS tables are marked with 857 (Turkish DOS) and I need to use 1254 (Turkish Windows) in windows environment to see few special chars correctly. Also there shouldn't be SET NOCPTRANS TO .....
Check CPDBF(), CPCURRENT(), CPCONVERT() too.
Cetin