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

Problem with the diacritics being converted to question marks #4

Closed
zoilomora opened this issue Nov 20, 2020 · 1 comment · Fixed by #5
Closed

Problem with the diacritics being converted to question marks #4

zoilomora opened this issue Nov 20, 2020 · 1 comment · Fixed by #5
Assignees
Labels
bug Something isn't working

Comments

@zoilomora
Copy link
Owner

The text in the database is french
zoilomora/laravel-msaccess#1 (comment)

@zoilomora zoilomora added the bug Something isn't working label Nov 20, 2020
@zoilomora
Copy link
Owner Author

From what I can see this related to the problem described in the README.md

Character encoding problems

The default character encoding in Access databases is Windows-1252.
If you want to convert the data to UTF-8, a simple solution would be:

$field = mb_convert_encoding($field, 'UTF-8', 'Windows-1252');

@zoilomora zoilomora linked a pull request Nov 20, 2020 that will close this issue
@zoilomora zoilomora self-assigned this Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant