Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Page/Unicode in VFP6.0
Message
From
26/10/1999 09:22:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/10/1999 08:51:07
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00281453
Message ID:
00281463
Views:
21
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform