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

language not supported #100

Closed
support-softya opened this issue Jan 7, 2021 · 2 comments
Closed

language not supported #100

support-softya opened this issue Jan 7, 2021 · 2 comments
Labels

Comments

@support-softya
Copy link

support-softya commented Jan 7, 2021

hi im trying to get data everything is working fine with this code

   while ($record = $table->nextRecord()) {

        echo $record->desc;
        echo "<br />";
    }

but the result gonna be like this ..
https://i.ibb.co/QHQYSLk/Capture.png

any help here thanks

@gam6itko
Copy link
Collaborator

gam6itko commented Jan 9, 2021

@support-softya Did you set correct file encoding?

// example since 1.3.2
$table = new Table(
    __DIR__.'/Resources/foxpro/1.dbf', 
    [
        'encoding' => 'cp852'
    ]
);

@support-softya
Copy link
Author

thanks its working now ..

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

No branches or pull requests

2 participants