-
Notifications
You must be signed in to change notification settings - Fork 51
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
utf8 string cut off #16
Comments
@Keno-Chile can you share a partial dump of your input data you're trying to convert? |
I have the same issue. |
@dszyfelb a shared partial data dump might be helpful to debug! |
Thanks again for sharing your work! I've encountered the same issue. I tested thoroughly on a staging server loaded with a copy of production data, first executing on the structure only (no errors), and then on the full database. All seemed to go well. Knowing many of the records in our 10 year old MySQL database are non-critical, I executed on the production database after confirming all current/sensitive records were intact. Here's the collation map I used:
PHP version: 7.4.3 Although the lost (old) data is unimportant to our needs, I have full backups of the original data in Edit: Looking through my SQL backups, all backed up tables were dumped without explicit declaration of the collation, i.e.: After running the script, all tables now show an explicit collation, even though this matches the MySQL 8.0 server default: Is it possible the script was unable to read the collation? |
After runnig the script words like:
Américo, año, agüita, and other spanish words become:
Am, a, ag
(the words got sliced. I tryed changing ther encoding to utf8mb4, but got the same result.
The text was updated successfully, but these errors were encountered: