Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing accented characters in standalone tables
Message
From
07/07/2005 09:20:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/07/2005 09:06:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01029897
Message ID:
01029902
Views:
12
>hi
>
>i have some old DBF tables from Clipper that i'm trying to copy programmatically, which contain accented characters. however, when i copy the tables, i lose the accented characters.
>
>i've tried a few approaches with the same result:
>1. use, copy structure to, scatter and gather.
>2. select * from table1 into table2.
>3. use, copy to table2.
>
>i need to do this programmatically and can't just use a copy file command. also, CPDBF() on the original table returns 0, and so does the table created.
>
>any help appreciated.
>regards,
>barry

First use tools\cpzero\cpzero.prg to mark them with their originating codepage (ie: For Turkish I mark them with 857-Turkish Dos CP). If you want to do that lowlevel get code from cpzero.prg and poke in byte offsett 29.
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
Reply
Map
View

Click here to load this message in the networking platform