Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue recording Unicode characters from a host Windows C++ application #13

Open
DianaI13 opened this issue Jul 29, 2022 · 6 comments
Open

Comments

@DianaI13
Copy link

Hi,

Do you know if Unicode characters are supported in database fields (dBase 4). We are trying to update the database from Windows C++ application.

Thank you in advance,
Diana

@addsuminc
Copy link

addsuminc commented Jul 29, 2022 via email

@DianaI13
Copy link
Author

DianaI13 commented Jul 29, 2022 via email

@BobHocker
Copy link

Hello,

I'm working with Diana, above.

When we specify one or more "W" fields, the first byte of the generated DBF file changes from 0x03 (dBASE Level 5) to 0x30 which appears to be a FoxPro specific value. This means that we can no longer read the file with non-CBASE tools such as Excel. This corresponds to the CodeBase Reference Guide Appendix E text that says W fields "will not be recognized by other xBASE tools". So I have two questions.

  1. Is there any way to alter the code to generate a type 0x03 dbf file with a "W" field that can be read by other tools?
  2. If the above is not possible, then we are trying to use a FoxPro driver. Can you point me to an ODBC data source driver that will allow our application to read these files?

Thank you,
Bob Hocker

@BobHocker
Copy link

A follow-up question to my questions above:
We tried to open a dbf file that has a Unicode 'W' field in Microsoft Visual FoxPro, but it gave an error: " is not a table". So even Visual FoxPro doesn't appear to recognize type 0x30 dbf files. Is this correct? Shouldn't Visual FoxPro recognize a type 0x30 dbf file written by Codebase? Does this mean that no product other than Codebase can read these files as dBase files? Thanks in advance for any information you can provide.

@addsuminc
Copy link

addsuminc commented Aug 24, 2022 via email

@BobHocker
Copy link

Thank you, Tony, for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants