Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Codepage for DOS tables
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00183391
Message ID:
00184310
Views:
27
>>>Hi All,
>>>my application receives and processes a number of tables a day. Tables are created in FP2.6DOS without codepage info. Application's default codepage is 1251. I am looking for a way to open FP2.6DOS tables without the codepage dialog and nevertheless marking them as codepage 866.
>>>TIA.
>>
>>Kamil, try SET CPDIALOG OFF.
>>
>>Nick
>
>Hi Nick,
>The problem of SET CPDIALOG OFF is that no character convertion will be applyed to the fields in a table. So if we take a table without a codepage info and that table was created under 866 codepage then the char fields will not be converted to, say, 1251.
>
>I did some digging in the Help and found that to record a codepage info into a table header we can use Cpzero.prg, provided with FoxPro. Cpzero does not ask any questions if we provide proper parameters.
>
>By the way, are you of Russian origin by any chance?
>Good luck, Nick.

I am from Moscow originally.
:)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform