-
Notifications
You must be signed in to change notification settings - Fork 82
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
Can't read Memo type from Foxpro #30
Comments
Also having same issue. Well, mostly. I get random info like å�201008 instead of a readable paragraph. |
This looks like a character encoding issue. Did you specify the correct encoding when instantiating |
I have same problem. I am creating table as: $table = new Table('./files/TABLE.DBF', $columns, 'cp1250'); Data readed from table (not memos) are ok. |
I've reproduced this, and it seems there are two issues here:
PR submitted #63 |
A little follow up on this with a related problem that I had with the current version of the library. This change in Record.php to the getMemo method makes it work (changes in bold): public function getMemo($columnName) In fact, according to the unofficial 'specs', a memo-field of type 'M' is never 2 bytes long so I'm not sure where that comes from. This might also be true for other table types with memo-files, so it might not be limited to type 0xF5, but all my files are of this type. |
Same here #75 |
Does anyone have a file to reproduce the bug? |
Perhaps this was fixed in 1.1.0. I close the issue because i have no data to reproduce the bug. |
Hi,
I'm iterating through a FoxPro database and one of the columns is of type 'memo'.
It seems xbase has a problem with this data type : printing the value shows a question mark inside a black diamond.
Do you have a solution or is it a known problem that will be fixed one day ?
Thank you,
Corentin.
The text was updated successfully, but these errors were encountered: