View Issue Details

IDProjectCategoryView StatusLast Update
0000537librarianBugpublic2026-07-27 12:27
Reportermikee Assigned Tomikee  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionreopened 
PlatformPCOSLinuxOS VersionOS
Summary0000537: Deal with weird charǎcters is strings
Description

Probably unicode and these need to be removed or decoded before insertion into the DB
MySQLdb.OperationalError: (1366, "Incorrect string value: '\xEF\xBF\xBD bu...' for column books.books.abstract at row 1")

TagsNo tags attached.
Attach Tags
Git commit
GitLab/Hub Issue

Relationships

related to 0000569 closedmikee Deal with Japanese 

Activities

mikee

2026-03-31 12:31

administrator   ~0002051

Last edited: 2026-03-31 12:35

https://stackoverflow.com/questions/10957238/incorrect-string-value-when-trying-to-insert-utf-8-into-mysql-via-jdbc

So basically do:
ALTER TABLE books CONVERT TO CHARACTER SET utf8mb4;
Also maybe:
ALTER DATABASE books CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
And :
mysqlcheck -u root -p --auto-repair --optimize --all-databases

Issue History

Date Modified Username Field Change
2026-03-31 12:19 mikee New Issue
2026-03-31 12:19 mikee Status new => assigned
2026-03-31 12:19 mikee Assigned To => mikee
2026-03-31 12:31 mikee Note Added: 0002051
2026-03-31 12:34 mikee Note Edited: 0002051
2026-03-31 12:35 mikee Note Edited: 0002051
2026-03-31 13:20 mikee Status assigned => closed
2026-03-31 13:20 mikee Resolution open => fixed
2026-03-31 13:53 mikee Status closed => feedback
2026-03-31 13:53 mikee Resolution fixed => reopened
2026-05-04 11:55 mikee Status feedback => assigned
2026-05-04 11:55 mikee Status assigned => feedback
2026-07-27 12:27 mikee Relationship added related to 0000569
2026-07-27 12:27 mikee Status feedback => closed