You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding this PDF: https://trustedcomputinggroup.org/wp-content/uploads/TCG-PC-Client-Platform-Firmware-Profile-Version-1.06-Revision-52_pub-1.pdf i get a MySQL Error: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xEC\x00\xA0\xE0";...' for column `wallabag`.`wallabag_entry`.`published_by` at row 1. I checked utf8mb4 settings in the database and config above and everything seems fine. To me it looks like the string in question isn't even valid UTF-8 which is why MySQL is complaining. so i guess the PDF extraction doesn't like the document and spits out some weird bytes.
my quick and dirty fix was to patch Entry::setPublishedBy() like this:
Environment
My
app/config/parameters.yml
is:What steps will reproduce the bug?
When adding this PDF: https://trustedcomputinggroup.org/wp-content/uploads/TCG-PC-Client-Platform-Firmware-Profile-Version-1.06-Revision-52_pub-1.pdf i get a MySQL Error:
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xEC\x00\xA0\xE0";...' for column `wallabag`.`wallabag_entry`.`published_by` at row 1
. I checked utf8mb4 settings in the database and config above and everything seems fine. To me it looks like the string in question isn't even valid UTF-8 which is why MySQL is complaining. so i guess the PDF extraction doesn't like the document and spits out some weird bytes.my quick and dirty fix was to patch
Entry::setPublishedBy()
like this:The text was updated successfully, but these errors were encountered: