mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-06-21 12:09:31 -04:00
CakePHP applies the datasource 'encoding' as SET NAMES, and it was 'utf8', MySQL's 3-byte utf8mb3 alias. Like the C++ daemon connection, this mangles 4-byte UTF-8 characters in utf8mb4 columns such as Monitors.Name to '?' on read and truncates them on write, so the API returned and stored corrupted names. Set it to utf8mb4 to match the schema. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4.5 KiB
4.5 KiB