Encoding/charset is seriously fucked, at database level even.
For some fucking reason, we decided to use latin1 charset for our database back in the day. For some fucking reason, this breaks everything now. Every single €
and Umlaut gets turned into a mess of weird accents and control characters.
This now breaks Bon Storno because Stück
(column unit
in items
) supposedly isn't a valid string according to PHP/mysqli/MariaDB.
I don't really know how to fix this mess. We'd probably need to re-setup database, but this would prolly break rolling checksums (which are broken anyways, but that's another topic).
Edited by Michael Koch